History log of /openbsd-current/sys/dev/fdt/sximmc.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.15 13-May-2024 jsg

remove prototypes with no matching function
ok mpi@


Revision tags: OPENBSD_7_5_BASE
# 1.14 07-Feb-2024 kettenis

Add Allwinner H616 support.

ok uaa@


# 1.13 02-Feb-2024 kettenis

Add Allwinner D1 support.

ok jca@, patrick@


Revision tags: OPENBSD_7_1_BASE OPENBSD_7_2_BASE OPENBSD_7_3_BASE OPENBSD_7_4_BASE
# 1.12 24-Oct-2021 mpi

Constify struct cfattach.

ok visa@ a long time ago, ok patrick@


Revision tags: OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE
# 1.11 11-Jan-2020 cheloha

sximmc(4): tsleep(9) -> tsleep_nsec(9)

mpi@ missed this one in the prior commit.

probably ok bluhm@


# 1.10 09-Jan-2020 mpi

Convert sleeps of 1sec or more to tsleep_nsec(9).

ok bluhm@


Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.9 10-Feb-2019 kettenis

Handle "broken-cd" as "non-removable" for now. This will generate some
error messages if a card is absent from the slot, but other workarounds
are much more complicated.

From SASANO Takayoshi.


# 1.8 29-Dec-2018 patrick

Remove the hand-rolled maximum segment size handling in sximmc(4)
since we now have the possibility to specify it in the attach args.

ok kettenis@


# 1.7 04-Dec-2018 kettenis

Unify messaged printed when we can't estiblish an interrupt.

Pointed out by Artturi Alm.


# 1.6 16-Nov-2018 patrick

Add support for Allwinner A64's eMMC controller. It is essentially
the same as the MMC controller but has the same DMA max length as
the A10 SoC. This makes the eMMC work on the Pinebook.

ok jsg@


Revision tags: OPENBSD_6_4_BASE
# 1.5 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.4 27-May-2018 kettenis

Add SDIO support:
- Implement SDIO interrupt handling
- Set control bit that allows CPU access to the FIFO
- Fix PIO transfers that are not a multiple of 4 bytes
- Handle vqmmc-supply

ok patrick@


Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE
# 1.3 13-Aug-2017 kettenis

Add support for Allwinner A64/H5 device trees that use the official Linux
bindings. The current U-Boot device trees are somewhat broken and keep
the SD-card controller from working.


# 1.2 22-Jun-2017 deraadt

double ;;. xhci one found by geoffhill


Revision tags: OPENBSD_6_1_BASE
# 1.1 21-Jan-2017 patrick

Move Allwinner drivers that will soon be used by OpenBSD/arm64
to the new MI FDT driver directory.

"go ahead" kettenis@


# 1.14 07-Feb-2024 kettenis

Add Allwinner H616 support.

ok uaa@


# 1.13 02-Feb-2024 kettenis

Add Allwinner D1 support.

ok jca@, patrick@


Revision tags: OPENBSD_7_1_BASE OPENBSD_7_2_BASE OPENBSD_7_3_BASE OPENBSD_7_4_BASE
# 1.12 24-Oct-2021 mpi

Constify struct cfattach.

ok visa@ a long time ago, ok patrick@


Revision tags: OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE
# 1.11 11-Jan-2020 cheloha

sximmc(4): tsleep(9) -> tsleep_nsec(9)

mpi@ missed this one in the prior commit.

probably ok bluhm@


# 1.10 09-Jan-2020 mpi

Convert sleeps of 1sec or more to tsleep_nsec(9).

ok bluhm@


Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.9 10-Feb-2019 kettenis

Handle "broken-cd" as "non-removable" for now. This will generate some
error messages if a card is absent from the slot, but other workarounds
are much more complicated.

From SASANO Takayoshi.


# 1.8 29-Dec-2018 patrick

Remove the hand-rolled maximum segment size handling in sximmc(4)
since we now have the possibility to specify it in the attach args.

ok kettenis@


# 1.7 04-Dec-2018 kettenis

Unify messaged printed when we can't estiblish an interrupt.

Pointed out by Artturi Alm.


# 1.6 16-Nov-2018 patrick

Add support for Allwinner A64's eMMC controller. It is essentially
the same as the MMC controller but has the same DMA max length as
the A10 SoC. This makes the eMMC work on the Pinebook.

ok jsg@


Revision tags: OPENBSD_6_4_BASE
# 1.5 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.4 27-May-2018 kettenis

Add SDIO support:
- Implement SDIO interrupt handling
- Set control bit that allows CPU access to the FIFO
- Fix PIO transfers that are not a multiple of 4 bytes
- Handle vqmmc-supply

ok patrick@


Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE
# 1.3 13-Aug-2017 kettenis

Add support for Allwinner A64/H5 device trees that use the official Linux
bindings. The current U-Boot device trees are somewhat broken and keep
the SD-card controller from working.


# 1.2 22-Jun-2017 deraadt

double ;;. xhci one found by geoffhill


Revision tags: OPENBSD_6_1_BASE
# 1.1 21-Jan-2017 patrick

Move Allwinner drivers that will soon be used by OpenBSD/arm64
to the new MI FDT driver directory.

"go ahead" kettenis@


# 1.13 02-Feb-2024 kettenis

Add Allwinner D1 support.

ok jca@, patrick@


Revision tags: OPENBSD_7_1_BASE OPENBSD_7_2_BASE OPENBSD_7_3_BASE OPENBSD_7_4_BASE
# 1.12 24-Oct-2021 mpi

Constify struct cfattach.

ok visa@ a long time ago, ok patrick@


Revision tags: OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE
# 1.11 11-Jan-2020 cheloha

sximmc(4): tsleep(9) -> tsleep_nsec(9)

mpi@ missed this one in the prior commit.

probably ok bluhm@


# 1.10 09-Jan-2020 mpi

Convert sleeps of 1sec or more to tsleep_nsec(9).

ok bluhm@


Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.9 10-Feb-2019 kettenis

Handle "broken-cd" as "non-removable" for now. This will generate some
error messages if a card is absent from the slot, but other workarounds
are much more complicated.

From SASANO Takayoshi.


# 1.8 29-Dec-2018 patrick

Remove the hand-rolled maximum segment size handling in sximmc(4)
since we now have the possibility to specify it in the attach args.

ok kettenis@


# 1.7 04-Dec-2018 kettenis

Unify messaged printed when we can't estiblish an interrupt.

Pointed out by Artturi Alm.


# 1.6 16-Nov-2018 patrick

Add support for Allwinner A64's eMMC controller. It is essentially
the same as the MMC controller but has the same DMA max length as
the A10 SoC. This makes the eMMC work on the Pinebook.

ok jsg@


Revision tags: OPENBSD_6_4_BASE
# 1.5 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.4 27-May-2018 kettenis

Add SDIO support:
- Implement SDIO interrupt handling
- Set control bit that allows CPU access to the FIFO
- Fix PIO transfers that are not a multiple of 4 bytes
- Handle vqmmc-supply

ok patrick@


Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE
# 1.3 13-Aug-2017 kettenis

Add support for Allwinner A64/H5 device trees that use the official Linux
bindings. The current U-Boot device trees are somewhat broken and keep
the SD-card controller from working.


# 1.2 22-Jun-2017 deraadt

double ;;. xhci one found by geoffhill


Revision tags: OPENBSD_6_1_BASE
# 1.1 21-Jan-2017 patrick

Move Allwinner drivers that will soon be used by OpenBSD/arm64
to the new MI FDT driver directory.

"go ahead" kettenis@


# 1.12 24-Oct-2021 mpi

Constify struct cfattach.

ok visa@ a long time ago, ok patrick@


Revision tags: OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE
# 1.11 11-Jan-2020 cheloha

sximmc(4): tsleep(9) -> tsleep_nsec(9)

mpi@ missed this one in the prior commit.

probably ok bluhm@


# 1.10 09-Jan-2020 mpi

Convert sleeps of 1sec or more to tsleep_nsec(9).

ok bluhm@


Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.9 10-Feb-2019 kettenis

Handle "broken-cd" as "non-removable" for now. This will generate some
error messages if a card is absent from the slot, but other workarounds
are much more complicated.

From SASANO Takayoshi.


# 1.8 29-Dec-2018 patrick

Remove the hand-rolled maximum segment size handling in sximmc(4)
since we now have the possibility to specify it in the attach args.

ok kettenis@


# 1.7 04-Dec-2018 kettenis

Unify messaged printed when we can't estiblish an interrupt.

Pointed out by Artturi Alm.


# 1.6 16-Nov-2018 patrick

Add support for Allwinner A64's eMMC controller. It is essentially
the same as the MMC controller but has the same DMA max length as
the A10 SoC. This makes the eMMC work on the Pinebook.

ok jsg@


Revision tags: OPENBSD_6_4_BASE
# 1.5 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.4 27-May-2018 kettenis

Add SDIO support:
- Implement SDIO interrupt handling
- Set control bit that allows CPU access to the FIFO
- Fix PIO transfers that are not a multiple of 4 bytes
- Handle vqmmc-supply

ok patrick@


Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE
# 1.3 13-Aug-2017 kettenis

Add support for Allwinner A64/H5 device trees that use the official Linux
bindings. The current U-Boot device trees are somewhat broken and keep
the SD-card controller from working.


# 1.2 22-Jun-2017 deraadt

double ;;. xhci one found by geoffhill


Revision tags: OPENBSD_6_1_BASE
# 1.1 21-Jan-2017 patrick

Move Allwinner drivers that will soon be used by OpenBSD/arm64
to the new MI FDT driver directory.

"go ahead" kettenis@


# 1.11 11-Jan-2020 cheloha

sximmc(4): tsleep(9) -> tsleep_nsec(9)

mpi@ missed this one in the prior commit.

probably ok bluhm@


# 1.10 09-Jan-2020 mpi

Convert sleeps of 1sec or more to tsleep_nsec(9).

ok bluhm@


Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.9 10-Feb-2019 kettenis

Handle "broken-cd" as "non-removable" for now. This will generate some
error messages if a card is absent from the slot, but other workarounds
are much more complicated.

From SASANO Takayoshi.


# 1.8 29-Dec-2018 patrick

Remove the hand-rolled maximum segment size handling in sximmc(4)
since we now have the possibility to specify it in the attach args.

ok kettenis@


# 1.7 04-Dec-2018 kettenis

Unify messaged printed when we can't estiblish an interrupt.

Pointed out by Artturi Alm.


# 1.6 16-Nov-2018 patrick

Add support for Allwinner A64's eMMC controller. It is essentially
the same as the MMC controller but has the same DMA max length as
the A10 SoC. This makes the eMMC work on the Pinebook.

ok jsg@


Revision tags: OPENBSD_6_4_BASE
# 1.5 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.4 27-May-2018 kettenis

Add SDIO support:
- Implement SDIO interrupt handling
- Set control bit that allows CPU access to the FIFO
- Fix PIO transfers that are not a multiple of 4 bytes
- Handle vqmmc-supply

ok patrick@


Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE
# 1.3 13-Aug-2017 kettenis

Add support for Allwinner A64/H5 device trees that use the official Linux
bindings. The current U-Boot device trees are somewhat broken and keep
the SD-card controller from working.


# 1.2 22-Jun-2017 deraadt

double ;;. xhci one found by geoffhill


Revision tags: OPENBSD_6_1_BASE
# 1.1 21-Jan-2017 patrick

Move Allwinner drivers that will soon be used by OpenBSD/arm64
to the new MI FDT driver directory.

"go ahead" kettenis@


# 1.10 09-Jan-2020 mpi

Convert sleeps of 1sec or more to tsleep_nsec(9).

ok bluhm@


Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.9 10-Feb-2019 kettenis

Handle "broken-cd" as "non-removable" for now. This will generate some
error messages if a card is absent from the slot, but other workarounds
are much more complicated.

From SASANO Takayoshi.


# 1.8 29-Dec-2018 patrick

Remove the hand-rolled maximum segment size handling in sximmc(4)
since we now have the possibility to specify it in the attach args.

ok kettenis@


# 1.7 04-Dec-2018 kettenis

Unify messaged printed when we can't estiblish an interrupt.

Pointed out by Artturi Alm.


# 1.6 16-Nov-2018 patrick

Add support for Allwinner A64's eMMC controller. It is essentially
the same as the MMC controller but has the same DMA max length as
the A10 SoC. This makes the eMMC work on the Pinebook.

ok jsg@


Revision tags: OPENBSD_6_4_BASE
# 1.5 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.4 27-May-2018 kettenis

Add SDIO support:
- Implement SDIO interrupt handling
- Set control bit that allows CPU access to the FIFO
- Fix PIO transfers that are not a multiple of 4 bytes
- Handle vqmmc-supply

ok patrick@


Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE
# 1.3 13-Aug-2017 kettenis

Add support for Allwinner A64/H5 device trees that use the official Linux
bindings. The current U-Boot device trees are somewhat broken and keep
the SD-card controller from working.


# 1.2 22-Jun-2017 deraadt

double ;;. xhci one found by geoffhill


Revision tags: OPENBSD_6_1_BASE
# 1.1 21-Jan-2017 patrick

Move Allwinner drivers that will soon be used by OpenBSD/arm64
to the new MI FDT driver directory.

"go ahead" kettenis@


# 1.9 10-Feb-2019 kettenis

Handle "broken-cd" as "non-removable" for now. This will generate some
error messages if a card is absent from the slot, but other workarounds
are much more complicated.

From SASANO Takayoshi.


# 1.8 29-Dec-2018 patrick

Remove the hand-rolled maximum segment size handling in sximmc(4)
since we now have the possibility to specify it in the attach args.

ok kettenis@


# 1.7 04-Dec-2018 kettenis

Unify messaged printed when we can't estiblish an interrupt.

Pointed out by Artturi Alm.


# 1.6 16-Nov-2018 patrick

Add support for Allwinner A64's eMMC controller. It is essentially
the same as the MMC controller but has the same DMA max length as
the A10 SoC. This makes the eMMC work on the Pinebook.

ok jsg@


Revision tags: OPENBSD_6_4_BASE
# 1.5 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.4 27-May-2018 kettenis

Add SDIO support:
- Implement SDIO interrupt handling
- Set control bit that allows CPU access to the FIFO
- Fix PIO transfers that are not a multiple of 4 bytes
- Handle vqmmc-supply

ok patrick@


Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE
# 1.3 13-Aug-2017 kettenis

Add support for Allwinner A64/H5 device trees that use the official Linux
bindings. The current U-Boot device trees are somewhat broken and keep
the SD-card controller from working.


# 1.2 22-Jun-2017 deraadt

double ;;. xhci one found by geoffhill


Revision tags: OPENBSD_6_1_BASE
# 1.1 21-Jan-2017 patrick

Move Allwinner drivers that will soon be used by OpenBSD/arm64
to the new MI FDT driver directory.

"go ahead" kettenis@


# 1.8 29-Dec-2018 patrick

Remove the hand-rolled maximum segment size handling in sximmc(4)
since we now have the possibility to specify it in the attach args.

ok kettenis@


# 1.7 04-Dec-2018 kettenis

Unify messaged printed when we can't estiblish an interrupt.

Pointed out by Artturi Alm.


# 1.6 16-Nov-2018 patrick

Add support for Allwinner A64's eMMC controller. It is essentially
the same as the MMC controller but has the same DMA max length as
the A10 SoC. This makes the eMMC work on the Pinebook.

ok jsg@


Revision tags: OPENBSD_6_4_BASE
# 1.5 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.4 27-May-2018 kettenis

Add SDIO support:
- Implement SDIO interrupt handling
- Set control bit that allows CPU access to the FIFO
- Fix PIO transfers that are not a multiple of 4 bytes
- Handle vqmmc-supply

ok patrick@


Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE
# 1.3 13-Aug-2017 kettenis

Add support for Allwinner A64/H5 device trees that use the official Linux
bindings. The current U-Boot device trees are somewhat broken and keep
the SD-card controller from working.


# 1.2 22-Jun-2017 deraadt

double ;;. xhci one found by geoffhill


Revision tags: OPENBSD_6_1_BASE
# 1.1 21-Jan-2017 patrick

Move Allwinner drivers that will soon be used by OpenBSD/arm64
to the new MI FDT driver directory.

"go ahead" kettenis@


# 1.7 04-Dec-2018 kettenis

Unify messaged printed when we can't estiblish an interrupt.

Pointed out by Artturi Alm.


# 1.6 16-Nov-2018 patrick

Add support for Allwinner A64's eMMC controller. It is essentially
the same as the MMC controller but has the same DMA max length as
the A10 SoC. This makes the eMMC work on the Pinebook.

ok jsg@


Revision tags: OPENBSD_6_4_BASE
# 1.5 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.4 27-May-2018 kettenis

Add SDIO support:
- Implement SDIO interrupt handling
- Set control bit that allows CPU access to the FIFO
- Fix PIO transfers that are not a multiple of 4 bytes
- Handle vqmmc-supply

ok patrick@


Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE
# 1.3 13-Aug-2017 kettenis

Add support for Allwinner A64/H5 device trees that use the official Linux
bindings. The current U-Boot device trees are somewhat broken and keep
the SD-card controller from working.


# 1.2 22-Jun-2017 deraadt

double ;;. xhci one found by geoffhill


Revision tags: OPENBSD_6_1_BASE
# 1.1 21-Jan-2017 patrick

Move Allwinner drivers that will soon be used by OpenBSD/arm64
to the new MI FDT driver directory.

"go ahead" kettenis@


# 1.6 16-Nov-2018 patrick

Add support for Allwinner A64's eMMC controller. It is essentially
the same as the MMC controller but has the same DMA max length as
the A10 SoC. This makes the eMMC work on the Pinebook.

ok jsg@


Revision tags: OPENBSD_6_4_BASE
# 1.5 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.4 27-May-2018 kettenis

Add SDIO support:
- Implement SDIO interrupt handling
- Set control bit that allows CPU access to the FIFO
- Fix PIO transfers that are not a multiple of 4 bytes
- Handle vqmmc-supply

ok patrick@


Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE
# 1.3 13-Aug-2017 kettenis

Add support for Allwinner A64/H5 device trees that use the official Linux
bindings. The current U-Boot device trees are somewhat broken and keep
the SD-card controller from working.


# 1.2 22-Jun-2017 deraadt

double ;;. xhci one found by geoffhill


Revision tags: OPENBSD_6_1_BASE
# 1.1 21-Jan-2017 patrick

Move Allwinner drivers that will soon be used by OpenBSD/arm64
to the new MI FDT driver directory.

"go ahead" kettenis@


# 1.5 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.4 27-May-2018 kettenis

Add SDIO support:
- Implement SDIO interrupt handling
- Set control bit that allows CPU access to the FIFO
- Fix PIO transfers that are not a multiple of 4 bytes
- Handle vqmmc-supply

ok patrick@


Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE
# 1.3 13-Aug-2017 kettenis

Add support for Allwinner A64/H5 device trees that use the official Linux
bindings. The current U-Boot device trees are somewhat broken and keep
the SD-card controller from working.


# 1.2 22-Jun-2017 deraadt

double ;;. xhci one found by geoffhill


Revision tags: OPENBSD_6_1_BASE
# 1.1 21-Jan-2017 patrick

Move Allwinner drivers that will soon be used by OpenBSD/arm64
to the new MI FDT driver directory.

"go ahead" kettenis@


# 1.4 27-May-2018 kettenis

Add SDIO support:
- Implement SDIO interrupt handling
- Set control bit that allows CPU access to the FIFO
- Fix PIO transfers that are not a multiple of 4 bytes
- Handle vqmmc-supply

ok patrick@


Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE
# 1.3 13-Aug-2017 kettenis

Add support for Allwinner A64/H5 device trees that use the official Linux
bindings. The current U-Boot device trees are somewhat broken and keep
the SD-card controller from working.


# 1.2 22-Jun-2017 deraadt

double ;;. xhci one found by geoffhill


Revision tags: OPENBSD_6_1_BASE
# 1.1 21-Jan-2017 patrick

Move Allwinner drivers that will soon be used by OpenBSD/arm64
to the new MI FDT driver directory.

"go ahead" kettenis@


Revision tags: OPENBSD_6_2_BASE
# 1.3 13-Aug-2017 kettenis

Add support for Allwinner A64/H5 device trees that use the official Linux
bindings. The current U-Boot device trees are somewhat broken and keep
the SD-card controller from working.


# 1.2 22-Jun-2017 deraadt

double ;;. xhci one found by geoffhill


Revision tags: OPENBSD_6_1_BASE
# 1.1 21-Jan-2017 patrick

Move Allwinner drivers that will soon be used by OpenBSD/arm64
to the new MI FDT driver directory.

"go ahead" kettenis@