History log of /openbsd-current/sys/dev/fdt/com_fdt.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.9 31-Jan-2024 hastings

add MediaTek UART support.

ok kettenis@


Revision tags: OPENBSD_7_4_BASE
# 1.8 15-Aug-2023 miod

Use the proper ofw node in com_fdt_attach(), likely a cut'n'paste error
from com_fdt_init_cons().
ok patrick@


Revision tags: OPENBSD_7_1_BASE OPENBSD_7_2_BASE OPENBSD_7_3_BASE
# 1.7 11-Jan-2022 uaa

add Synopsys Degisnware UART (dw-apb-uart) support

To fix Allwinner H6's UART problem, need to add dw-apb-uart special code.
ok kettenis@


# 1.6 24-Oct-2021 mpi

Constify struct cfattach.

ok visa@ a long time ago, ok patrick@


Revision tags: OPENBSD_7_0_BASE
# 1.5 24-Apr-2021 kettenis

The variation in access size requirements and spacing of registers of
NS16550 clones is a bit of a mess. There are FDT properties that describe
these but these proprties are optional for some variants and the default
values depend on the compatible string being used. Most variants that have
shown up in the ARM world use 32-bit access and spacing. But true NS16550A
implementations of course use 8-bit access and spacing. So look at the
compatible strings to set up the appropriate defaults. Makes the "true"
NS16550A implemented by QEMU work for RISCV targets.

ok jsg@, drahn@


Revision tags: OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.4 23-Mar-2020 uaa

UART 1-3 support for Allwinner H3 (maybe H5/H2+).

- add reset signal definition
- add reset signal de-assert code

ok kettenis@


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.3 06-Aug-2018 patrick

Give the FDT interrupt API a more generic naming by replacing the
arm_intr_* prefix with fdt_intr_*.

ok kettenis@


# 1.2 20-Jul-2018 jsg

match on marvell,armada-38x-uart linux >= 4.18-rc1 changed the compat
string from snps,dw-apb-uart in b7639b0b15ddd1a4686b0142e70dfb122eefc88f

ok patrick@


# 1.1 31-May-2018 kettenis

Move com_fdt.c to dev/fdt since we can share it between armv7 and arm64 now.

ok patrick@


# 1.8 15-Aug-2023 miod

Use the proper ofw node in com_fdt_attach(), likely a cut'n'paste error
from com_fdt_init_cons().
ok patrick@


Revision tags: OPENBSD_7_1_BASE OPENBSD_7_2_BASE OPENBSD_7_3_BASE
# 1.7 11-Jan-2022 uaa

add Synopsys Degisnware UART (dw-apb-uart) support

To fix Allwinner H6's UART problem, need to add dw-apb-uart special code.
ok kettenis@


# 1.6 24-Oct-2021 mpi

Constify struct cfattach.

ok visa@ a long time ago, ok patrick@


Revision tags: OPENBSD_7_0_BASE
# 1.5 24-Apr-2021 kettenis

The variation in access size requirements and spacing of registers of
NS16550 clones is a bit of a mess. There are FDT properties that describe
these but these proprties are optional for some variants and the default
values depend on the compatible string being used. Most variants that have
shown up in the ARM world use 32-bit access and spacing. But true NS16550A
implementations of course use 8-bit access and spacing. So look at the
compatible strings to set up the appropriate defaults. Makes the "true"
NS16550A implemented by QEMU work for RISCV targets.

ok jsg@, drahn@


Revision tags: OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.4 23-Mar-2020 uaa

UART 1-3 support for Allwinner H3 (maybe H5/H2+).

- add reset signal definition
- add reset signal de-assert code

ok kettenis@


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.3 06-Aug-2018 patrick

Give the FDT interrupt API a more generic naming by replacing the
arm_intr_* prefix with fdt_intr_*.

ok kettenis@


# 1.2 20-Jul-2018 jsg

match on marvell,armada-38x-uart linux >= 4.18-rc1 changed the compat
string from snps,dw-apb-uart in b7639b0b15ddd1a4686b0142e70dfb122eefc88f

ok patrick@


# 1.1 31-May-2018 kettenis

Move com_fdt.c to dev/fdt since we can share it between armv7 and arm64 now.

ok patrick@


# 1.7 11-Jan-2022 uaa

add Synopsys Degisnware UART (dw-apb-uart) support

To fix Allwinner H6's UART problem, need to add dw-apb-uart special code.
ok kettenis@


# 1.6 24-Oct-2021 mpi

Constify struct cfattach.

ok visa@ a long time ago, ok patrick@


Revision tags: OPENBSD_7_0_BASE
# 1.5 24-Apr-2021 kettenis

The variation in access size requirements and spacing of registers of
NS16550 clones is a bit of a mess. There are FDT properties that describe
these but these proprties are optional for some variants and the default
values depend on the compatible string being used. Most variants that have
shown up in the ARM world use 32-bit access and spacing. But true NS16550A
implementations of course use 8-bit access and spacing. So look at the
compatible strings to set up the appropriate defaults. Makes the "true"
NS16550A implemented by QEMU work for RISCV targets.

ok jsg@, drahn@


Revision tags: OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.4 23-Mar-2020 uaa

UART 1-3 support for Allwinner H3 (maybe H5/H2+).

- add reset signal definition
- add reset signal de-assert code

ok kettenis@


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.3 06-Aug-2018 patrick

Give the FDT interrupt API a more generic naming by replacing the
arm_intr_* prefix with fdt_intr_*.

ok kettenis@


# 1.2 20-Jul-2018 jsg

match on marvell,armada-38x-uart linux >= 4.18-rc1 changed the compat
string from snps,dw-apb-uart in b7639b0b15ddd1a4686b0142e70dfb122eefc88f

ok patrick@


# 1.1 31-May-2018 kettenis

Move com_fdt.c to dev/fdt since we can share it between armv7 and arm64 now.

ok patrick@


# 1.6 24-Oct-2021 mpi

Constify struct cfattach.

ok visa@ a long time ago, ok patrick@


Revision tags: OPENBSD_7_0_BASE
# 1.5 24-Apr-2021 kettenis

The variation in access size requirements and spacing of registers of
NS16550 clones is a bit of a mess. There are FDT properties that describe
these but these proprties are optional for some variants and the default
values depend on the compatible string being used. Most variants that have
shown up in the ARM world use 32-bit access and spacing. But true NS16550A
implementations of course use 8-bit access and spacing. So look at the
compatible strings to set up the appropriate defaults. Makes the "true"
NS16550A implemented by QEMU work for RISCV targets.

ok jsg@, drahn@


Revision tags: OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.4 23-Mar-2020 uaa

UART 1-3 support for Allwinner H3 (maybe H5/H2+).

- add reset signal definition
- add reset signal de-assert code

ok kettenis@


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.3 06-Aug-2018 patrick

Give the FDT interrupt API a more generic naming by replacing the
arm_intr_* prefix with fdt_intr_*.

ok kettenis@


# 1.2 20-Jul-2018 jsg

match on marvell,armada-38x-uart linux >= 4.18-rc1 changed the compat
string from snps,dw-apb-uart in b7639b0b15ddd1a4686b0142e70dfb122eefc88f

ok patrick@


# 1.1 31-May-2018 kettenis

Move com_fdt.c to dev/fdt since we can share it between armv7 and arm64 now.

ok patrick@


# 1.5 24-Apr-2021 kettenis

The variation in access size requirements and spacing of registers of
NS16550 clones is a bit of a mess. There are FDT properties that describe
these but these proprties are optional for some variants and the default
values depend on the compatible string being used. Most variants that have
shown up in the ARM world use 32-bit access and spacing. But true NS16550A
implementations of course use 8-bit access and spacing. So look at the
compatible strings to set up the appropriate defaults. Makes the "true"
NS16550A implemented by QEMU work for RISCV targets.

ok jsg@, drahn@


Revision tags: OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.4 23-Mar-2020 uaa

UART 1-3 support for Allwinner H3 (maybe H5/H2+).

- add reset signal definition
- add reset signal de-assert code

ok kettenis@


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.3 06-Aug-2018 patrick

Give the FDT interrupt API a more generic naming by replacing the
arm_intr_* prefix with fdt_intr_*.

ok kettenis@


# 1.2 20-Jul-2018 jsg

match on marvell,armada-38x-uart linux >= 4.18-rc1 changed the compat
string from snps,dw-apb-uart in b7639b0b15ddd1a4686b0142e70dfb122eefc88f

ok patrick@


# 1.1 31-May-2018 kettenis

Move com_fdt.c to dev/fdt since we can share it between armv7 and arm64 now.

ok patrick@


# 1.4 23-Mar-2020 uaa

UART 1-3 support for Allwinner H3 (maybe H5/H2+).

- add reset signal definition
- add reset signal de-assert code

ok kettenis@


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.3 06-Aug-2018 patrick

Give the FDT interrupt API a more generic naming by replacing the
arm_intr_* prefix with fdt_intr_*.

ok kettenis@


# 1.2 20-Jul-2018 jsg

match on marvell,armada-38x-uart linux >= 4.18-rc1 changed the compat
string from snps,dw-apb-uart in b7639b0b15ddd1a4686b0142e70dfb122eefc88f

ok patrick@


# 1.1 31-May-2018 kettenis

Move com_fdt.c to dev/fdt since we can share it between armv7 and arm64 now.

ok patrick@


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.3 06-Aug-2018 patrick

Give the FDT interrupt API a more generic naming by replacing the
arm_intr_* prefix with fdt_intr_*.

ok kettenis@


# 1.2 20-Jul-2018 jsg

match on marvell,armada-38x-uart linux >= 4.18-rc1 changed the compat
string from snps,dw-apb-uart in b7639b0b15ddd1a4686b0142e70dfb122eefc88f

ok patrick@


# 1.1 31-May-2018 kettenis

Move com_fdt.c to dev/fdt since we can share it between armv7 and arm64 now.

ok patrick@