History log of /openbsd-current/sys/dev/fdt/exuart.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.12 23-Jul-2023 kettenis

Enable power domain.

ok patrick@


Revision tags: OPENBSD_7_2_BASE OPENBSD_7_3_BASE
# 1.11 02-Jul-2022 visa

Remove unused device poll functions.

Also remove unneeded includes of <sys/poll.h> and <sys/select.h>.

Some addenda from jsg@.

OK miod@ mpi@


# 1.10 06-Apr-2022 naddy

constify struct cfattach


Revision tags: OPENBSD_7_0_BASE OPENBSD_7_1_BASE
# 1.9 01-Sep-2021 jan

Remove dead poweroff functions, as they not appear in other
serial drivers.

ok patrick@


Revision tags: OPENBSD_6_9_BASE
# 1.8 22-Feb-2021 kettenis

Improve support for the variant found on the Apple M1 SoC.
This mostly adjust the interrupt masking and status support since this
variant lacks the UINTM and UINTP registers.

ok patrick@


# 1.7 16-Feb-2021 kettenis

Add support for the UART found on the Apple M1 SoC.

ok patrick@


# 1.6 14-Feb-2021 kettenis

Introduce variables to deal with bit layout differences in the UFSTAT
register. Use 32-bit reads and writes to access the URXH and UTXH
registers. They're documented as 32-bit registers in the Exynos 4 and
Exynos 5 User Manuals and accessing URXH with an 8-bit read triggers a
fault on Apple's M1 SoC.

ok patrick@


# 1.5 11-Feb-2021 patrick

Don't hardcode com(4)'s major number in exuart(4).

ok kettenis@


# 1.4 05-Feb-2021 patrick

arm_intr_establish_fdt() has long been renamed to fdt_intr_establish().


# 1.3 05-Feb-2021 patrick

Fix whitespace.


# 1.2 05-Feb-2021 patrick

Rename probe/attach functions to fit our regular naming scheme. Replace
&armv7_bs_tag with fdt_cons_bs_tag, which is our early console bus tag
for both arm64 and armv7. On armv7, it points to &armv7_bs_tag. With
this we can get rid of the armv7var.h include. Reduce a bit of diff to
imxuart(4).

ok kettenis@


# 1.1 05-Feb-2021 patrick

Move exuart(4) to sys/dev/fdt so it can be shared between arm64 and armv7.

ok kettenis@


# 1.11 02-Jul-2022 visa

Remove unused device poll functions.

Also remove unneeded includes of <sys/poll.h> and <sys/select.h>.

Some addenda from jsg@.

OK miod@ mpi@


# 1.10 06-Apr-2022 naddy

constify struct cfattach


Revision tags: OPENBSD_7_0_BASE OPENBSD_7_1_BASE
# 1.9 01-Sep-2021 jan

Remove dead poweroff functions, as they not appear in other
serial drivers.

ok patrick@


Revision tags: OPENBSD_6_9_BASE
# 1.8 22-Feb-2021 kettenis

Improve support for the variant found on the Apple M1 SoC.
This mostly adjust the interrupt masking and status support since this
variant lacks the UINTM and UINTP registers.

ok patrick@


# 1.7 16-Feb-2021 kettenis

Add support for the UART found on the Apple M1 SoC.

ok patrick@


# 1.6 14-Feb-2021 kettenis

Introduce variables to deal with bit layout differences in the UFSTAT
register. Use 32-bit reads and writes to access the URXH and UTXH
registers. They're documented as 32-bit registers in the Exynos 4 and
Exynos 5 User Manuals and accessing URXH with an 8-bit read triggers a
fault on Apple's M1 SoC.

ok patrick@


# 1.5 11-Feb-2021 patrick

Don't hardcode com(4)'s major number in exuart(4).

ok kettenis@


# 1.4 05-Feb-2021 patrick

arm_intr_establish_fdt() has long been renamed to fdt_intr_establish().


# 1.3 05-Feb-2021 patrick

Fix whitespace.


# 1.2 05-Feb-2021 patrick

Rename probe/attach functions to fit our regular naming scheme. Replace
&armv7_bs_tag with fdt_cons_bs_tag, which is our early console bus tag
for both arm64 and armv7. On armv7, it points to &armv7_bs_tag. With
this we can get rid of the armv7var.h include. Reduce a bit of diff to
imxuart(4).

ok kettenis@


# 1.1 05-Feb-2021 patrick

Move exuart(4) to sys/dev/fdt so it can be shared between arm64 and armv7.

ok kettenis@


# 1.10 06-Apr-2022 naddy

constify struct cfattach


Revision tags: OPENBSD_7_0_BASE OPENBSD_7_1_BASE
# 1.9 01-Sep-2021 jan

Remove dead poweroff functions, as they not appear in other
serial drivers.

ok patrick@


Revision tags: OPENBSD_6_9_BASE
# 1.8 22-Feb-2021 kettenis

Improve support for the variant found on the Apple M1 SoC.
This mostly adjust the interrupt masking and status support since this
variant lacks the UINTM and UINTP registers.

ok patrick@


# 1.7 16-Feb-2021 kettenis

Add support for the UART found on the Apple M1 SoC.

ok patrick@


# 1.6 14-Feb-2021 kettenis

Introduce variables to deal with bit layout differences in the UFSTAT
register. Use 32-bit reads and writes to access the URXH and UTXH
registers. They're documented as 32-bit registers in the Exynos 4 and
Exynos 5 User Manuals and accessing URXH with an 8-bit read triggers a
fault on Apple's M1 SoC.

ok patrick@


# 1.5 11-Feb-2021 patrick

Don't hardcode com(4)'s major number in exuart(4).

ok kettenis@


# 1.4 05-Feb-2021 patrick

arm_intr_establish_fdt() has long been renamed to fdt_intr_establish().


# 1.3 05-Feb-2021 patrick

Fix whitespace.


# 1.2 05-Feb-2021 patrick

Rename probe/attach functions to fit our regular naming scheme. Replace
&armv7_bs_tag with fdt_cons_bs_tag, which is our early console bus tag
for both arm64 and armv7. On armv7, it points to &armv7_bs_tag. With
this we can get rid of the armv7var.h include. Reduce a bit of diff to
imxuart(4).

ok kettenis@


# 1.1 05-Feb-2021 patrick

Move exuart(4) to sys/dev/fdt so it can be shared between arm64 and armv7.

ok kettenis@


# 1.9 01-Sep-2021 jan

Remove dead poweroff functions, as they not appear in other
serial drivers.

ok patrick@


Revision tags: OPENBSD_6_9_BASE
# 1.8 22-Feb-2021 kettenis

Improve support for the variant found on the Apple M1 SoC.
This mostly adjust the interrupt masking and status support since this
variant lacks the UINTM and UINTP registers.

ok patrick@


# 1.7 16-Feb-2021 kettenis

Add support for the UART found on the Apple M1 SoC.

ok patrick@


# 1.6 14-Feb-2021 kettenis

Introduce variables to deal with bit layout differences in the UFSTAT
register. Use 32-bit reads and writes to access the URXH and UTXH
registers. They're documented as 32-bit registers in the Exynos 4 and
Exynos 5 User Manuals and accessing URXH with an 8-bit read triggers a
fault on Apple's M1 SoC.

ok patrick@


# 1.5 11-Feb-2021 patrick

Don't hardcode com(4)'s major number in exuart(4).

ok kettenis@


# 1.4 05-Feb-2021 patrick

arm_intr_establish_fdt() has long been renamed to fdt_intr_establish().


# 1.3 05-Feb-2021 patrick

Fix whitespace.


# 1.2 05-Feb-2021 patrick

Rename probe/attach functions to fit our regular naming scheme. Replace
&armv7_bs_tag with fdt_cons_bs_tag, which is our early console bus tag
for both arm64 and armv7. On armv7, it points to &armv7_bs_tag. With
this we can get rid of the armv7var.h include. Reduce a bit of diff to
imxuart(4).

ok kettenis@


# 1.1 05-Feb-2021 patrick

Move exuart(4) to sys/dev/fdt so it can be shared between arm64 and armv7.

ok kettenis@


# 1.8 22-Feb-2021 kettenis

Improve support for the variant found on the Apple M1 SoC.
This mostly adjust the interrupt masking and status support since this
variant lacks the UINTM and UINTP registers.

ok patrick@


# 1.7 16-Feb-2021 kettenis

Add support for the UART found on the Apple M1 SoC.

ok patrick@


# 1.6 14-Feb-2021 kettenis

Introduce variables to deal with bit layout differences in the UFSTAT
register. Use 32-bit reads and writes to access the URXH and UTXH
registers. They're documented as 32-bit registers in the Exynos 4 and
Exynos 5 User Manuals and accessing URXH with an 8-bit read triggers a
fault on Apple's M1 SoC.

ok patrick@


# 1.5 11-Feb-2021 patrick

Don't hardcode com(4)'s major number in exuart(4).

ok kettenis@


# 1.4 05-Feb-2021 patrick

arm_intr_establish_fdt() has long been renamed to fdt_intr_establish().


# 1.3 05-Feb-2021 patrick

Fix whitespace.


# 1.2 05-Feb-2021 patrick

Rename probe/attach functions to fit our regular naming scheme. Replace
&armv7_bs_tag with fdt_cons_bs_tag, which is our early console bus tag
for both arm64 and armv7. On armv7, it points to &armv7_bs_tag. With
this we can get rid of the armv7var.h include. Reduce a bit of diff to
imxuart(4).

ok kettenis@


# 1.1 05-Feb-2021 patrick

Move exuart(4) to sys/dev/fdt so it can be shared between arm64 and armv7.

ok kettenis@


# 1.7 16-Feb-2021 kettenis

Add support for the UART found on the Apple M1 SoC.

ok patrick@


# 1.6 14-Feb-2021 kettenis

Introduce variables to deal with bit layout differences in the UFSTAT
register. Use 32-bit reads and writes to access the URXH and UTXH
registers. They're documented as 32-bit registers in the Exynos 4 and
Exynos 5 User Manuals and accessing URXH with an 8-bit read triggers a
fault on Apple's M1 SoC.

ok patrick@


# 1.5 11-Feb-2021 patrick

Don't hardcode com(4)'s major number in exuart(4).

ok kettenis@


# 1.4 05-Feb-2021 patrick

arm_intr_establish_fdt() has long been renamed to fdt_intr_establish().


# 1.3 05-Feb-2021 patrick

Fix whitespace.


# 1.2 05-Feb-2021 patrick

Rename probe/attach functions to fit our regular naming scheme. Replace
&armv7_bs_tag with fdt_cons_bs_tag, which is our early console bus tag
for both arm64 and armv7. On armv7, it points to &armv7_bs_tag. With
this we can get rid of the armv7var.h include. Reduce a bit of diff to
imxuart(4).

ok kettenis@


# 1.1 05-Feb-2021 patrick

Move exuart(4) to sys/dev/fdt so it can be shared between arm64 and armv7.

ok kettenis@


# 1.6 14-Feb-2021 kettenis

Introduce variables to deal with bit layout differences in the UFSTAT
register. Use 32-bit reads and writes to access the URXH and UTXH
registers. They're documented as 32-bit registers in the Exynos 4 and
Exynos 5 User Manuals and accessing URXH with an 8-bit read triggers a
fault on Apple's M1 SoC.

ok patrick@


# 1.5 11-Feb-2021 patrick

Don't hardcode com(4)'s major number in exuart(4).

ok kettenis@


# 1.4 05-Feb-2021 patrick

arm_intr_establish_fdt() has long been renamed to fdt_intr_establish().


# 1.3 05-Feb-2021 patrick

Fix whitespace.


# 1.2 05-Feb-2021 patrick

Rename probe/attach functions to fit our regular naming scheme. Replace
&armv7_bs_tag with fdt_cons_bs_tag, which is our early console bus tag
for both arm64 and armv7. On armv7, it points to &armv7_bs_tag. With
this we can get rid of the armv7var.h include. Reduce a bit of diff to
imxuart(4).

ok kettenis@


# 1.1 05-Feb-2021 patrick

Move exuart(4) to sys/dev/fdt so it can be shared between arm64 and armv7.

ok kettenis@