From bd8a0ee51a2b292c3d8daf2b4b4e766b659bfa8d Mon Sep 17 00:00:00 2001 From: itycodes Date: Mon, 26 Feb 2024 01:59:40 +0100 Subject: [PATCH] WIP A64 module docs --- A64.md | 610 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 610 insertions(+) create mode 100644 A64.md diff --git a/A64.md b/A64.md new file mode 100644 index 0000000..1fe2e2d --- /dev/null +++ b/A64.md @@ -0,0 +1,610 @@ + +# Table of Contents + +1. [Display](#orga4f111e) + 1. [Required Display modules](#orgcf6d9df) + 2. [Optional Display modules](#org7d768de) + 3. [Internal Display modules](#org6e434b5) +2. [Sound](#orgb545b9b) + 1. [Required Sound modules](#orgfe54214) + 2. [Optional Sound modules](#org06ab839) + 3. [Internal Sound modules](#orgc0147fa) +3. [Media](#org929e163) +4. [Devfreq](#org49499d0) +5. [Crypto](#orge55132d) +6. [Watchdog](#orgabf1537) +7. [Pulse Width Modulation](#org6064a17) +8. [DMA Controller](#org365ec8b) +9. [Camera Sensor Interface](#org7039910) + + + + + +# Display + + + + +## Required Display modules + + + + +++ ++ ++ ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ComponentConfigModule.ko
Display coreDRM_SUN4Isun4i_drmsun4i-drm
Display modesetDRM_SUN4Isun4i_tconsun4i-tcon
Display mixerDRM_SUN8I_MIXERsun8i_mixersun8i-mixer
+ + + + +## Optional Display modules + + + + +++ ++ ++ ++ + + + + + + + + + + + + + + + + + + + + + + + + + +
ComponentConfigModule.ko
MIPI-DSI supportDRM_SUN6I_DSIsun6i_mipi_dsisun6i_mipi_dsi
HDMI supportDRM_SUN8I_DW_HDMIsun8i_drm_hdmisun8i-drm-hdmi
+ + + + +## Internal Display modules + +Selected automatically by one of other configs + + + + +++ ++ ++ ++ + + + + + + + + + + + + + + + + + +
ComponentConfigModule.ko
Display configDRM_SUN8I_TCON_TOPsun8i_tcon_tosun8i_tcon_top
+ + + + +# Sound + + + + +## Required Sound modules + + + + +++ ++ ++ ++ + + + + + + + + + + + + + + + + + + + + + + + + + +
ComponentConfigModule.ko
Internal codecSND_SUN50I_CODEC_ANALOGsun50i_codec_analogsun50i-codec-analog
CodecSND_SUN8I_CODECsun8i_codecsun8i-codec
+ + + + +## Optional Sound modules + + + + +++ ++ ++ ++ + + + + + + + + + + + + + + + + + +
ComponentConfigModule.ko
I2S supportSND_SUN4I_I2Ssun4i_i2ssun4i-i2s
+ + + + +## Internal Sound modules + +Selected automatically by one of other configs + + + + +++ ++ ++ ++ + + + + + + + + + + + + + + + + + +
ComponentConfigModule.ko
RegmapSND_SUN8I_ADDA_PR_REGMAPsun8i_adda_pr_regmapsun8i-adda-pr-regmap
+ + + + +# Media + + + + +++ ++ ++ ++ + + + + + + + + + + + + + + + + + + + + + + + + + +
ComponentConfigModule.ko
DeinterlaceVIDEO_SUN8I_DEINTERLACEsun8i_disun8i-di
RotateVIDEO_SUN8I_ROTATEsun8i_rotatesun8i-rotate
+ + + + +# Devfreq + +Support for device frequency scaling +(Which is separate from CPU frequency scaling) +In the A64, it is tied to the DRAM controller. + + + + +++ ++ ++ ++ + + + + + + + + + + + + + + + + + +
ComponentConfigModule.ko
DevfreqARM_SUN8I_A33_MBUS_DEVFREQsun8i_a33_mbussun8i-a33-mbus
+ + + + +# Crypto + + + + +++ ++ ++ ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ComponentConfigModule.ko
Allwiner coreCRYPTO_DEV_ALLWINNERsun8i_cesun8i-ce
A64 coreCRYPTO_DEV_SUN8I_CEsun8i_cesun8i-ce
HashesCRYPTO_DEV_SUN8I_CE_HASHsun8i_cesun8i-ce
Pseudo-RandomCRYPTO_DEV_SUN8I_CE_PRNGsun8i_cesun8i-ce
True-RandomCRYPTO_DEV_SUN8I_CE_TRNGsun8i_cesun8i-ce
DebugCRYPTO_DEV_SUN8I_CE_DEBUGsun8i_cesun8i-ce
+ + + + +# Watchdog + +A kernel API for a hardware timer that can reboot the system when a userspace daemon stops responding + + + + + + + + +++ ++ ++ ++ + + + + + + + + + + + + + + + + + +
ComponentConfigModule.ko
WatchdogSUNXI_WATCHDOGsunxi_wdtsun6i_mipi_dsi
+ + + + +# Pulse Width Modulation + +Used by LEDs & backlight + + + + + + +++ ++ ++ ++ + + + + + + + + + + + + + + + + + +
ComponentConfigModule.ko
PWMPWM_SUN4Ipwm_sun4ipwm-sun4i
+ + + + +# DMA Controller + +Used letting peripherals access the system memory without eating CPU cycles + +Required for: + +- SPDIF +- I2S +- DAI + +Optional for: + +- SPI + + + + +++ ++ ++ ++ + + + + + + + + + + + + + + + + + +
ComponentConfigModule.ko
DMA ControllerDMA_SUN6Isun6i_dmasun6i-dma
+ + + + +# Camera Sensor Interface + +TODO + + + + +++ ++ ++ ++ + + + + + + + + + + + + + + + + + +
ComponentConfigModule.ko
CameraVIDEO_SUN6I_CSIsun6i_csisun6i-csi
+