History log of /openbsd-current/sys/arch/armv7/omap/files.omap
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.26 10-Apr-2020 kettenis

Add omcm(4), omclock(4) and omsysc(4) drivers that support the new bus
structure that is used in current mainline Linux device trees.

ok jsg@


# 1.25 05-Apr-2020 kettenis

Add omrng(4), a driver for te random number generator found on TI OMAP SoCs.

ok jsg@


# 1.24 31-Mar-2020 kettenis

Remove unused code. The padconf code has been replaced with the
generic pinctrl(4) driver and intc(4) now attaches using the device
tree.

ok jsg@


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.23 27-Aug-2018 jsg

ompinmux has been replaced by pinctrl


Revision tags: OPENBSD_6_3_BASE
# 1.22 14-Feb-2018 jsg

prune files.* entries that refer to files not in tree
ok krw@ mpi@


Revision tags: OPENBSD_6_2_BASE
# 1.21 14-Aug-2017 ians

Add the amdisplay(4) and nxphdmi(4) drivers.

ok kettenis@ patrick@


Revision tags: OPENBSD_6_1_BASE
# 1.20 01-Mar-2017 jsg

Dynamically attach edma(4) using the FDT.
From Ian Sutton.


# 1.19 03-Oct-2016 jsg

Disable sitaracm and add a new ompinmux driver for omap pin muxing/pad
configuration that attaches with the fdt and writes values to registers
based on the pinctrl data in the fdt. Handles 16 bit values
(OMAP3/OMAP4) and 32 bit values (AM335x/AM57xx).

Feedback from and ok kettenis@ tom@ on an earlier version.


# 1.18 15-Sep-2016 jsg

Add omwugen(4) a driver for the TI logic that generates wakeup events
and routes interrupts to the GIC/ampintc(4).

The code is derived from imxgpc(4) which has the same role on imx.

In the pandaboard device tree wugen is the default interrupt parent
and is used for the hsmmc nodes. Adding this driver makes ommmc(4)
interrupts work again on pandaboard.

ok kettenis@


# 1.17 15-Aug-2016 patrick

Move the com(4) fdt attachment driver to a more generic location and
rename it to fit the typical scheme of such an attachment driver.

ok kettenis@ jsg@


# 1.16 11-Aug-2016 jsg

Dynamically attach omgpio(4) using the FDT.

am335x has a compatible string of "ti,omap4-gpio" and has the same
offsets as omap4, so combine the omap4 and am335x cases when setting up
function pointers.


# 1.15 11-Aug-2016 jsg

Dynamically attach omehci using the FDT.
ok kettenis@ patrick@


# 1.14 06-Aug-2016 jsg

Dynamically attach intc(4) using the FDT and switch omap/am335x
drivers that use the FDT over to the FDT interrupt establish API.

ok kettenis@


Revision tags: OPENBSD_6_0_BASE
# 1.13 26-Jun-2016 jsg

Dynamically attach cpsw(4) with the FDT.


# 1.12 26-Jun-2016 jsg

Dynamically attach tiiic using the FDT.

Only match on omap4 compatible controllers such as the one in the
am335x on bbb. omap3 has different register offsets and a different
compatible string.

This reuses kettenis' fdt i2c scan function from imxiic(4).


# 1.11 26-Jun-2016 jsg

Dynamically attach omdog(4) using the FDT.


# 1.10 19-Jun-2016 jsg

dynamically attach omap uart with fdt


# 1.9 18-Jun-2016 jsg

Dynamically attach ommmc with fdt. Offset the start of the memory region
by 0x100 for nodes compatible with "ti,omap4-hsmmc" to get the same
offsets as omap3. Handle both the nintr 1 (omap3/am335x) and nintr 3
(omap4) cases in attach. Ideally the "interrupts" property will be
handled by the interrupt controller drivers directly in future.


# 1.8 02-May-2016 patrick

Rework mainbus and implement simplebus to be able to span a tree-like
topology based on device tree information. Introduce a common attach
args structure to be used for all fdt-capable bus devices.

ok jsg@ kettenis@


Revision tags: OPENBSD_5_8_BASE OPENBSD_5_9_BASE
# 1.7 15-May-2015 jsg

Make board attaching table driven and move it out into the soc
directories. Move the device tables while here as was done in bitrig.
With these changes the only use of the board id defines is in the soc
directories.

Tested by matthieu and djm on imx and myself on omap and sunxi (qemu).
ok djm@, ok jasper@ on an earlier version


Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE
# 1.6 18-Mar-2014 syl

Add missing parts of the tiic driver.

inspired by rapha@
ok rapha@, jasper@


Revision tags: OPENBSD_5_5_BASE
# 1.5 20-Nov-2013 rapha

Add gpio(4) support for omap3/4 and am335x.

Feedback by patrick and syl, tested by syl on BeagleBoard and BBB.
ok syl@


# 1.4 06-Nov-2013 syl

After factorizing armv7_machdep code here is an effort to factorize all
the code present in omap/omap.c imx/imx.c and sunxi/sunxi.c

All this code looks quite the same, so we move it in a generic armv7/armv7.c

This is a step closer to only one kernel for all armv7 boards.

ok patrick@, rapha@


# 1.3 04-Nov-2013 syl

Rename beagle_machdep.c to omap_machdep.c

ok rapha@, jasper@, bmercer@, patrick@


# 1.2 10-Oct-2013 syl

Add edma driver. This driver add support for am335x edma3 controller.

With some more work, it will allow us to speed-up ommmc driver.

ok patrick@.


# 1.1 05-Sep-2013 patrick

Split the files file into a generic one for armv7, and soc-specific ones.
Also, rename the bus omap devices attach to to a soc-specific one,
so that we can have more than one soc.
In the future there should be only one generic bus where soc drivers
attach.


# 1.25 05-Apr-2020 kettenis

Add omrng(4), a driver for te random number generator found on TI OMAP SoCs.

ok jsg@


# 1.24 31-Mar-2020 kettenis

Remove unused code. The padconf code has been replaced with the
generic pinctrl(4) driver and intc(4) now attaches using the device
tree.

ok jsg@


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.23 27-Aug-2018 jsg

ompinmux has been replaced by pinctrl


Revision tags: OPENBSD_6_3_BASE
# 1.22 14-Feb-2018 jsg

prune files.* entries that refer to files not in tree
ok krw@ mpi@


Revision tags: OPENBSD_6_2_BASE
# 1.21 14-Aug-2017 ians

Add the amdisplay(4) and nxphdmi(4) drivers.

ok kettenis@ patrick@


Revision tags: OPENBSD_6_1_BASE
# 1.20 01-Mar-2017 jsg

Dynamically attach edma(4) using the FDT.
From Ian Sutton.


# 1.19 03-Oct-2016 jsg

Disable sitaracm and add a new ompinmux driver for omap pin muxing/pad
configuration that attaches with the fdt and writes values to registers
based on the pinctrl data in the fdt. Handles 16 bit values
(OMAP3/OMAP4) and 32 bit values (AM335x/AM57xx).

Feedback from and ok kettenis@ tom@ on an earlier version.


# 1.18 15-Sep-2016 jsg

Add omwugen(4) a driver for the TI logic that generates wakeup events
and routes interrupts to the GIC/ampintc(4).

The code is derived from imxgpc(4) which has the same role on imx.

In the pandaboard device tree wugen is the default interrupt parent
and is used for the hsmmc nodes. Adding this driver makes ommmc(4)
interrupts work again on pandaboard.

ok kettenis@


# 1.17 15-Aug-2016 patrick

Move the com(4) fdt attachment driver to a more generic location and
rename it to fit the typical scheme of such an attachment driver.

ok kettenis@ jsg@


# 1.16 11-Aug-2016 jsg

Dynamically attach omgpio(4) using the FDT.

am335x has a compatible string of "ti,omap4-gpio" and has the same
offsets as omap4, so combine the omap4 and am335x cases when setting up
function pointers.


# 1.15 11-Aug-2016 jsg

Dynamically attach omehci using the FDT.
ok kettenis@ patrick@


# 1.14 06-Aug-2016 jsg

Dynamically attach intc(4) using the FDT and switch omap/am335x
drivers that use the FDT over to the FDT interrupt establish API.

ok kettenis@


Revision tags: OPENBSD_6_0_BASE
# 1.13 26-Jun-2016 jsg

Dynamically attach cpsw(4) with the FDT.


# 1.12 26-Jun-2016 jsg

Dynamically attach tiiic using the FDT.

Only match on omap4 compatible controllers such as the one in the
am335x on bbb. omap3 has different register offsets and a different
compatible string.

This reuses kettenis' fdt i2c scan function from imxiic(4).


# 1.11 26-Jun-2016 jsg

Dynamically attach omdog(4) using the FDT.


# 1.10 19-Jun-2016 jsg

dynamically attach omap uart with fdt


# 1.9 18-Jun-2016 jsg

Dynamically attach ommmc with fdt. Offset the start of the memory region
by 0x100 for nodes compatible with "ti,omap4-hsmmc" to get the same
offsets as omap3. Handle both the nintr 1 (omap3/am335x) and nintr 3
(omap4) cases in attach. Ideally the "interrupts" property will be
handled by the interrupt controller drivers directly in future.


# 1.8 02-May-2016 patrick

Rework mainbus and implement simplebus to be able to span a tree-like
topology based on device tree information. Introduce a common attach
args structure to be used for all fdt-capable bus devices.

ok jsg@ kettenis@


Revision tags: OPENBSD_5_8_BASE OPENBSD_5_9_BASE
# 1.7 15-May-2015 jsg

Make board attaching table driven and move it out into the soc
directories. Move the device tables while here as was done in bitrig.
With these changes the only use of the board id defines is in the soc
directories.

Tested by matthieu and djm on imx and myself on omap and sunxi (qemu).
ok djm@, ok jasper@ on an earlier version


Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE
# 1.6 18-Mar-2014 syl

Add missing parts of the tiic driver.

inspired by rapha@
ok rapha@, jasper@


Revision tags: OPENBSD_5_5_BASE
# 1.5 20-Nov-2013 rapha

Add gpio(4) support for omap3/4 and am335x.

Feedback by patrick and syl, tested by syl on BeagleBoard and BBB.
ok syl@


# 1.4 06-Nov-2013 syl

After factorizing armv7_machdep code here is an effort to factorize all
the code present in omap/omap.c imx/imx.c and sunxi/sunxi.c

All this code looks quite the same, so we move it in a generic armv7/armv7.c

This is a step closer to only one kernel for all armv7 boards.

ok patrick@, rapha@


# 1.3 04-Nov-2013 syl

Rename beagle_machdep.c to omap_machdep.c

ok rapha@, jasper@, bmercer@, patrick@


# 1.2 10-Oct-2013 syl

Add edma driver. This driver add support for am335x edma3 controller.

With some more work, it will allow us to speed-up ommmc driver.

ok patrick@.


# 1.1 05-Sep-2013 patrick

Split the files file into a generic one for armv7, and soc-specific ones.
Also, rename the bus omap devices attach to to a soc-specific one,
so that we can have more than one soc.
In the future there should be only one generic bus where soc drivers
attach.


# 1.24 31-Mar-2020 kettenis

Remove unused code. The padconf code has been replaced with the
generic pinctrl(4) driver and intc(4) now attaches using the device
tree.

ok jsg@


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.23 27-Aug-2018 jsg

ompinmux has been replaced by pinctrl


Revision tags: OPENBSD_6_3_BASE
# 1.22 14-Feb-2018 jsg

prune files.* entries that refer to files not in tree
ok krw@ mpi@


Revision tags: OPENBSD_6_2_BASE
# 1.21 14-Aug-2017 ians

Add the amdisplay(4) and nxphdmi(4) drivers.

ok kettenis@ patrick@


Revision tags: OPENBSD_6_1_BASE
# 1.20 01-Mar-2017 jsg

Dynamically attach edma(4) using the FDT.
From Ian Sutton.


# 1.19 03-Oct-2016 jsg

Disable sitaracm and add a new ompinmux driver for omap pin muxing/pad
configuration that attaches with the fdt and writes values to registers
based on the pinctrl data in the fdt. Handles 16 bit values
(OMAP3/OMAP4) and 32 bit values (AM335x/AM57xx).

Feedback from and ok kettenis@ tom@ on an earlier version.


# 1.18 15-Sep-2016 jsg

Add omwugen(4) a driver for the TI logic that generates wakeup events
and routes interrupts to the GIC/ampintc(4).

The code is derived from imxgpc(4) which has the same role on imx.

In the pandaboard device tree wugen is the default interrupt parent
and is used for the hsmmc nodes. Adding this driver makes ommmc(4)
interrupts work again on pandaboard.

ok kettenis@


# 1.17 15-Aug-2016 patrick

Move the com(4) fdt attachment driver to a more generic location and
rename it to fit the typical scheme of such an attachment driver.

ok kettenis@ jsg@


# 1.16 11-Aug-2016 jsg

Dynamically attach omgpio(4) using the FDT.

am335x has a compatible string of "ti,omap4-gpio" and has the same
offsets as omap4, so combine the omap4 and am335x cases when setting up
function pointers.


# 1.15 11-Aug-2016 jsg

Dynamically attach omehci using the FDT.
ok kettenis@ patrick@


# 1.14 06-Aug-2016 jsg

Dynamically attach intc(4) using the FDT and switch omap/am335x
drivers that use the FDT over to the FDT interrupt establish API.

ok kettenis@


Revision tags: OPENBSD_6_0_BASE
# 1.13 26-Jun-2016 jsg

Dynamically attach cpsw(4) with the FDT.


# 1.12 26-Jun-2016 jsg

Dynamically attach tiiic using the FDT.

Only match on omap4 compatible controllers such as the one in the
am335x on bbb. omap3 has different register offsets and a different
compatible string.

This reuses kettenis' fdt i2c scan function from imxiic(4).


# 1.11 26-Jun-2016 jsg

Dynamically attach omdog(4) using the FDT.


# 1.10 19-Jun-2016 jsg

dynamically attach omap uart with fdt


# 1.9 18-Jun-2016 jsg

Dynamically attach ommmc with fdt. Offset the start of the memory region
by 0x100 for nodes compatible with "ti,omap4-hsmmc" to get the same
offsets as omap3. Handle both the nintr 1 (omap3/am335x) and nintr 3
(omap4) cases in attach. Ideally the "interrupts" property will be
handled by the interrupt controller drivers directly in future.


# 1.8 02-May-2016 patrick

Rework mainbus and implement simplebus to be able to span a tree-like
topology based on device tree information. Introduce a common attach
args structure to be used for all fdt-capable bus devices.

ok jsg@ kettenis@


Revision tags: OPENBSD_5_8_BASE OPENBSD_5_9_BASE
# 1.7 15-May-2015 jsg

Make board attaching table driven and move it out into the soc
directories. Move the device tables while here as was done in bitrig.
With these changes the only use of the board id defines is in the soc
directories.

Tested by matthieu and djm on imx and myself on omap and sunxi (qemu).
ok djm@, ok jasper@ on an earlier version


Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE
# 1.6 18-Mar-2014 syl

Add missing parts of the tiic driver.

inspired by rapha@
ok rapha@, jasper@


Revision tags: OPENBSD_5_5_BASE
# 1.5 20-Nov-2013 rapha

Add gpio(4) support for omap3/4 and am335x.

Feedback by patrick and syl, tested by syl on BeagleBoard and BBB.
ok syl@


# 1.4 06-Nov-2013 syl

After factorizing armv7_machdep code here is an effort to factorize all
the code present in omap/omap.c imx/imx.c and sunxi/sunxi.c

All this code looks quite the same, so we move it in a generic armv7/armv7.c

This is a step closer to only one kernel for all armv7 boards.

ok patrick@, rapha@


# 1.3 04-Nov-2013 syl

Rename beagle_machdep.c to omap_machdep.c

ok rapha@, jasper@, bmercer@, patrick@


# 1.2 10-Oct-2013 syl

Add edma driver. This driver add support for am335x edma3 controller.

With some more work, it will allow us to speed-up ommmc driver.

ok patrick@.


# 1.1 05-Sep-2013 patrick

Split the files file into a generic one for armv7, and soc-specific ones.
Also, rename the bus omap devices attach to to a soc-specific one,
so that we can have more than one soc.
In the future there should be only one generic bus where soc drivers
attach.


# 1.23 27-Aug-2018 jsg

ompinmux has been replaced by pinctrl


Revision tags: OPENBSD_6_3_BASE
# 1.22 14-Feb-2018 jsg

prune files.* entries that refer to files not in tree
ok krw@ mpi@


Revision tags: OPENBSD_6_2_BASE
# 1.21 14-Aug-2017 ians

Add the amdisplay(4) and nxphdmi(4) drivers.

ok kettenis@ patrick@


Revision tags: OPENBSD_6_1_BASE
# 1.20 01-Mar-2017 jsg

Dynamically attach edma(4) using the FDT.
From Ian Sutton.


# 1.19 03-Oct-2016 jsg

Disable sitaracm and add a new ompinmux driver for omap pin muxing/pad
configuration that attaches with the fdt and writes values to registers
based on the pinctrl data in the fdt. Handles 16 bit values
(OMAP3/OMAP4) and 32 bit values (AM335x/AM57xx).

Feedback from and ok kettenis@ tom@ on an earlier version.


# 1.18 15-Sep-2016 jsg

Add omwugen(4) a driver for the TI logic that generates wakeup events
and routes interrupts to the GIC/ampintc(4).

The code is derived from imxgpc(4) which has the same role on imx.

In the pandaboard device tree wugen is the default interrupt parent
and is used for the hsmmc nodes. Adding this driver makes ommmc(4)
interrupts work again on pandaboard.

ok kettenis@


# 1.17 15-Aug-2016 patrick

Move the com(4) fdt attachment driver to a more generic location and
rename it to fit the typical scheme of such an attachment driver.

ok kettenis@ jsg@


# 1.16 11-Aug-2016 jsg

Dynamically attach omgpio(4) using the FDT.

am335x has a compatible string of "ti,omap4-gpio" and has the same
offsets as omap4, so combine the omap4 and am335x cases when setting up
function pointers.


# 1.15 11-Aug-2016 jsg

Dynamically attach omehci using the FDT.
ok kettenis@ patrick@


# 1.14 06-Aug-2016 jsg

Dynamically attach intc(4) using the FDT and switch omap/am335x
drivers that use the FDT over to the FDT interrupt establish API.

ok kettenis@


Revision tags: OPENBSD_6_0_BASE
# 1.13 26-Jun-2016 jsg

Dynamically attach cpsw(4) with the FDT.


# 1.12 26-Jun-2016 jsg

Dynamically attach tiiic using the FDT.

Only match on omap4 compatible controllers such as the one in the
am335x on bbb. omap3 has different register offsets and a different
compatible string.

This reuses kettenis' fdt i2c scan function from imxiic(4).


# 1.11 26-Jun-2016 jsg

Dynamically attach omdog(4) using the FDT.


# 1.10 19-Jun-2016 jsg

dynamically attach omap uart with fdt


# 1.9 18-Jun-2016 jsg

Dynamically attach ommmc with fdt. Offset the start of the memory region
by 0x100 for nodes compatible with "ti,omap4-hsmmc" to get the same
offsets as omap3. Handle both the nintr 1 (omap3/am335x) and nintr 3
(omap4) cases in attach. Ideally the "interrupts" property will be
handled by the interrupt controller drivers directly in future.


# 1.8 02-May-2016 patrick

Rework mainbus and implement simplebus to be able to span a tree-like
topology based on device tree information. Introduce a common attach
args structure to be used for all fdt-capable bus devices.

ok jsg@ kettenis@


Revision tags: OPENBSD_5_8_BASE OPENBSD_5_9_BASE
# 1.7 15-May-2015 jsg

Make board attaching table driven and move it out into the soc
directories. Move the device tables while here as was done in bitrig.
With these changes the only use of the board id defines is in the soc
directories.

Tested by matthieu and djm on imx and myself on omap and sunxi (qemu).
ok djm@, ok jasper@ on an earlier version


Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE
# 1.6 18-Mar-2014 syl

Add missing parts of the tiic driver.

inspired by rapha@
ok rapha@, jasper@


Revision tags: OPENBSD_5_5_BASE
# 1.5 20-Nov-2013 rapha

Add gpio(4) support for omap3/4 and am335x.

Feedback by patrick and syl, tested by syl on BeagleBoard and BBB.
ok syl@


# 1.4 06-Nov-2013 syl

After factorizing armv7_machdep code here is an effort to factorize all
the code present in omap/omap.c imx/imx.c and sunxi/sunxi.c

All this code looks quite the same, so we move it in a generic armv7/armv7.c

This is a step closer to only one kernel for all armv7 boards.

ok patrick@, rapha@


# 1.3 04-Nov-2013 syl

Rename beagle_machdep.c to omap_machdep.c

ok rapha@, jasper@, bmercer@, patrick@


# 1.2 10-Oct-2013 syl

Add edma driver. This driver add support for am335x edma3 controller.

With some more work, it will allow us to speed-up ommmc driver.

ok patrick@.


# 1.1 05-Sep-2013 patrick

Split the files file into a generic one for armv7, and soc-specific ones.
Also, rename the bus omap devices attach to to a soc-specific one,
so that we can have more than one soc.
In the future there should be only one generic bus where soc drivers
attach.


# 1.22 14-Feb-2018 jsg

prune files.* entries that refer to files not in tree
ok krw@ mpi@


Revision tags: OPENBSD_6_2_BASE
# 1.21 14-Aug-2017 ians

Add the amdisplay(4) and nxphdmi(4) drivers.

ok kettenis@ patrick@


Revision tags: OPENBSD_6_1_BASE
# 1.20 01-Mar-2017 jsg

Dynamically attach edma(4) using the FDT.
From Ian Sutton.


# 1.19 03-Oct-2016 jsg

Disable sitaracm and add a new ompinmux driver for omap pin muxing/pad
configuration that attaches with the fdt and writes values to registers
based on the pinctrl data in the fdt. Handles 16 bit values
(OMAP3/OMAP4) and 32 bit values (AM335x/AM57xx).

Feedback from and ok kettenis@ tom@ on an earlier version.


# 1.18 15-Sep-2016 jsg

Add omwugen(4) a driver for the TI logic that generates wakeup events
and routes interrupts to the GIC/ampintc(4).

The code is derived from imxgpc(4) which has the same role on imx.

In the pandaboard device tree wugen is the default interrupt parent
and is used for the hsmmc nodes. Adding this driver makes ommmc(4)
interrupts work again on pandaboard.

ok kettenis@


# 1.17 15-Aug-2016 patrick

Move the com(4) fdt attachment driver to a more generic location and
rename it to fit the typical scheme of such an attachment driver.

ok kettenis@ jsg@


# 1.16 11-Aug-2016 jsg

Dynamically attach omgpio(4) using the FDT.

am335x has a compatible string of "ti,omap4-gpio" and has the same
offsets as omap4, so combine the omap4 and am335x cases when setting up
function pointers.


# 1.15 11-Aug-2016 jsg

Dynamically attach omehci using the FDT.
ok kettenis@ patrick@


# 1.14 06-Aug-2016 jsg

Dynamically attach intc(4) using the FDT and switch omap/am335x
drivers that use the FDT over to the FDT interrupt establish API.

ok kettenis@


Revision tags: OPENBSD_6_0_BASE
# 1.13 26-Jun-2016 jsg

Dynamically attach cpsw(4) with the FDT.


# 1.12 26-Jun-2016 jsg

Dynamically attach tiiic using the FDT.

Only match on omap4 compatible controllers such as the one in the
am335x on bbb. omap3 has different register offsets and a different
compatible string.

This reuses kettenis' fdt i2c scan function from imxiic(4).


# 1.11 26-Jun-2016 jsg

Dynamically attach omdog(4) using the FDT.


# 1.10 19-Jun-2016 jsg

dynamically attach omap uart with fdt


# 1.9 18-Jun-2016 jsg

Dynamically attach ommmc with fdt. Offset the start of the memory region
by 0x100 for nodes compatible with "ti,omap4-hsmmc" to get the same
offsets as omap3. Handle both the nintr 1 (omap3/am335x) and nintr 3
(omap4) cases in attach. Ideally the "interrupts" property will be
handled by the interrupt controller drivers directly in future.


# 1.8 02-May-2016 patrick

Rework mainbus and implement simplebus to be able to span a tree-like
topology based on device tree information. Introduce a common attach
args structure to be used for all fdt-capable bus devices.

ok jsg@ kettenis@


Revision tags: OPENBSD_5_8_BASE OPENBSD_5_9_BASE
# 1.7 15-May-2015 jsg

Make board attaching table driven and move it out into the soc
directories. Move the device tables while here as was done in bitrig.
With these changes the only use of the board id defines is in the soc
directories.

Tested by matthieu and djm on imx and myself on omap and sunxi (qemu).
ok djm@, ok jasper@ on an earlier version


Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE
# 1.6 18-Mar-2014 syl

Add missing parts of the tiic driver.

inspired by rapha@
ok rapha@, jasper@


Revision tags: OPENBSD_5_5_BASE
# 1.5 20-Nov-2013 rapha

Add gpio(4) support for omap3/4 and am335x.

Feedback by patrick and syl, tested by syl on BeagleBoard and BBB.
ok syl@


# 1.4 06-Nov-2013 syl

After factorizing armv7_machdep code here is an effort to factorize all
the code present in omap/omap.c imx/imx.c and sunxi/sunxi.c

All this code looks quite the same, so we move it in a generic armv7/armv7.c

This is a step closer to only one kernel for all armv7 boards.

ok patrick@, rapha@


# 1.3 04-Nov-2013 syl

Rename beagle_machdep.c to omap_machdep.c

ok rapha@, jasper@, bmercer@, patrick@


# 1.2 10-Oct-2013 syl

Add edma driver. This driver add support for am335x edma3 controller.

With some more work, it will allow us to speed-up ommmc driver.

ok patrick@.


# 1.1 05-Sep-2013 patrick

Split the files file into a generic one for armv7, and soc-specific ones.
Also, rename the bus omap devices attach to to a soc-specific one,
so that we can have more than one soc.
In the future there should be only one generic bus where soc drivers
attach.


Revision tags: OPENBSD_6_2_BASE
# 1.21 14-Aug-2017 ians

Add the amdisplay(4) and nxphdmi(4) drivers.

ok kettenis@ patrick@


Revision tags: OPENBSD_6_1_BASE
# 1.20 01-Mar-2017 jsg

Dynamically attach edma(4) using the FDT.
From Ian Sutton.


# 1.19 03-Oct-2016 jsg

Disable sitaracm and add a new ompinmux driver for omap pin muxing/pad
configuration that attaches with the fdt and writes values to registers
based on the pinctrl data in the fdt. Handles 16 bit values
(OMAP3/OMAP4) and 32 bit values (AM335x/AM57xx).

Feedback from and ok kettenis@ tom@ on an earlier version.


# 1.18 15-Sep-2016 jsg

Add omwugen(4) a driver for the TI logic that generates wakeup events
and routes interrupts to the GIC/ampintc(4).

The code is derived from imxgpc(4) which has the same role on imx.

In the pandaboard device tree wugen is the default interrupt parent
and is used for the hsmmc nodes. Adding this driver makes ommmc(4)
interrupts work again on pandaboard.

ok kettenis@


# 1.17 15-Aug-2016 patrick

Move the com(4) fdt attachment driver to a more generic location and
rename it to fit the typical scheme of such an attachment driver.

ok kettenis@ jsg@


# 1.16 11-Aug-2016 jsg

Dynamically attach omgpio(4) using the FDT.

am335x has a compatible string of "ti,omap4-gpio" and has the same
offsets as omap4, so combine the omap4 and am335x cases when setting up
function pointers.


# 1.15 11-Aug-2016 jsg

Dynamically attach omehci using the FDT.
ok kettenis@ patrick@


# 1.14 06-Aug-2016 jsg

Dynamically attach intc(4) using the FDT and switch omap/am335x
drivers that use the FDT over to the FDT interrupt establish API.

ok kettenis@


Revision tags: OPENBSD_6_0_BASE
# 1.13 26-Jun-2016 jsg

Dynamically attach cpsw(4) with the FDT.


# 1.12 26-Jun-2016 jsg

Dynamically attach tiiic using the FDT.

Only match on omap4 compatible controllers such as the one in the
am335x on bbb. omap3 has different register offsets and a different
compatible string.

This reuses kettenis' fdt i2c scan function from imxiic(4).


# 1.11 26-Jun-2016 jsg

Dynamically attach omdog(4) using the FDT.


# 1.10 19-Jun-2016 jsg

dynamically attach omap uart with fdt


# 1.9 18-Jun-2016 jsg

Dynamically attach ommmc with fdt. Offset the start of the memory region
by 0x100 for nodes compatible with "ti,omap4-hsmmc" to get the same
offsets as omap3. Handle both the nintr 1 (omap3/am335x) and nintr 3
(omap4) cases in attach. Ideally the "interrupts" property will be
handled by the interrupt controller drivers directly in future.


# 1.8 02-May-2016 patrick

Rework mainbus and implement simplebus to be able to span a tree-like
topology based on device tree information. Introduce a common attach
args structure to be used for all fdt-capable bus devices.

ok jsg@ kettenis@


Revision tags: OPENBSD_5_8_BASE OPENBSD_5_9_BASE
# 1.7 15-May-2015 jsg

Make board attaching table driven and move it out into the soc
directories. Move the device tables while here as was done in bitrig.
With these changes the only use of the board id defines is in the soc
directories.

Tested by matthieu and djm on imx and myself on omap and sunxi (qemu).
ok djm@, ok jasper@ on an earlier version


Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE
# 1.6 18-Mar-2014 syl

Add missing parts of the tiic driver.

inspired by rapha@
ok rapha@, jasper@


Revision tags: OPENBSD_5_5_BASE
# 1.5 20-Nov-2013 rapha

Add gpio(4) support for omap3/4 and am335x.

Feedback by patrick and syl, tested by syl on BeagleBoard and BBB.
ok syl@


# 1.4 06-Nov-2013 syl

After factorizing armv7_machdep code here is an effort to factorize all
the code present in omap/omap.c imx/imx.c and sunxi/sunxi.c

All this code looks quite the same, so we move it in a generic armv7/armv7.c

This is a step closer to only one kernel for all armv7 boards.

ok patrick@, rapha@


# 1.3 04-Nov-2013 syl

Rename beagle_machdep.c to omap_machdep.c

ok rapha@, jasper@, bmercer@, patrick@


# 1.2 10-Oct-2013 syl

Add edma driver. This driver add support for am335x edma3 controller.

With some more work, it will allow us to speed-up ommmc driver.

ok patrick@.


# 1.1 05-Sep-2013 patrick

Split the files file into a generic one for armv7, and soc-specific ones.
Also, rename the bus omap devices attach to to a soc-specific one,
so that we can have more than one soc.
In the future there should be only one generic bus where soc drivers
attach.