Comment 5 for bug 1701137

Revision history for this message
Andre Przywara (apritzel) wrote :

Back from holidays, so here is the list of options for the arm64 kernel .config.
I copied your list from above and changed the options accordingly, adding comments with explanations. Let me know if you need more information.

CONFIG_ARCH_SUNXI=y
# CONFIG_AHCI_SUNXI is not set ## no SATA in 64-bit Allwinner SoCs
CONFIG_DMA_SUN6I=m
# CONFIG_DWMAC_SUNXI is not set ## no GMAC in 64-bit Allwinner SoCs
CONFIG_IR_SUNXI=m
# CONFIG_KEYBOARD_SUN4I_LRADC is not set ## not in 64-bit Allwinner SoCs
# CONFIG_MDIO_SUN4I is not set ## not in 64-bit Allwinner SoCs
# CONFIG_MFD_AC100 is not set ## not used on boards with 64-bit Allwinner SoCs
CONFIG_MFD_AXP20X_RSB=m
CONFIG_MFD_SUN4I_GPADC=m
CONFIG_MFD_SUN6I_PRCM=y
CONFIG_MMC_SUNXI=m
# CONFIG_MTD_NAND_SUNXI is not set ## not used on boards with 64-bit Allwinner SoCs
CONFIG_NET_VENDOR_ALLWINNER=y
CONFIG_NVMEM_SUNXI_SID=m
CONFIG_PHY_SUN4I_USB=m
# CONFIG_PHY_SUN9I_USB is not set ## not in 64-bit Allwinner SoCs
# CONFIG_PINCTRL_SUN4I_A10 is not set
CONFIG_PINCTRL_SUN50I_A64=y
CONFIG_PINCTRL_SUN50I_A64_R=y
CONFIG_PINCTRL_SUN50I_H5=y
# CONFIG_PINCTRL_SUN5I is not set
# CONFIG_PINCTRL_SUN6I_A31 is not set
# CONFIG_PINCTRL_SUN6I_A31_R is not set
# CONFIG_PINCTRL_SUN7I_A20 is not set
# CONFIG_PINCTRL_SUN8I_A23 is not set
# CONFIG_PINCTRL_SUN8I_A23_R is not set
# CONFIG_PINCTRL_SUN8I_A33 is not set
# CONFIG_PINCTRL_SUN8I_A83T is not set
# CONFIG_PINCTRL_SUN8I_H3 is not set
CONFIG_PINCTRL_SUN8I_H3_R=y
# CONFIG_PINCTRL_SUN8I_V3S is not set
# CONFIG_PINCTRL_SUN9I_A80 is not set
# CONFIG_PINCTRL_SUN9I_A80_R is not set
CONFIG_PINCTRL_SUNXI=y
CONFIG_PWM_SUN4I=m
CONFIG_RESET_SUNXI=y
# CONFIG_RTC_DRV_AC100 is not set ## not used on boards with 64-bit Allwinner SoCs
CONFIG_RTC_DRV_SUN6I=y
# CONFIG_SERIO_SUN4I_PS2 is not set ## not in 64-bit Allwinner SoCs
# CONFIG_SND_SUN4I_CODEC is not set ## not in 64-bit Allwinner SoCs
# CONFIG_SND_SUN4I_I2S is not set ## not in 64-bit Allwinner SoCs
# CONFIG_SND_SUN4I_SPDIF is not set ## not in 64-bit Allwinner SoCs
CONFIG_SND_SUN8I_CODEC_ANALOG=m
# CONFIG_SPI_SUN4I is not set ## not in 64-bit Allwinner SoCs
CONFIG_SPI_SUN6I=m
# CONFIG_SUN4I_EMAC is not set ## not in 64-bit Allwinner SoCs
# CONFIG_SUN4I_GPADC is not set ## not (yet?) supported
CONFIG_SUN50I_A64_CCU=y
CONFIG_SUN8I_H3_CCU=y ## drives the H5 as well
CONFIG_SUN8I_R_CCU=y
CONFIG_SUNXI_CCU=y
CONFIG_SUNXI_CCU_DIV=y
CONFIG_SUNXI_CCU_FRAC=y
CONFIG_SUNXI_CCU_GATE=y
CONFIG_SUNXI_CCU_MP=y
CONFIG_SUNXI_CCU_MUX=y
CONFIG_SUNXI_CCU_NK=y
CONFIG_SUNXI_CCU_NKM=y
CONFIG_SUNXI_CCU_NKMP=y
CONFIG_SUNXI_CCU_NM=y
CONFIG_SUNXI_CCU_PHASE=y
CONFIG_SUNXI_RSB=m ## supported in upcoming kernels
CONFIG_SUNXI_SRAM=y
CONFIG_SUNXI_WATCHDOG=m
# CONFIG_TOUCHSCREEN_SUN4I is not set ## not (yet?) supported
CONFIG_USB_MUSB_SUNXI=m

Not covered by the default config when enabling ARCH_SUNXI, but please add:
CONFIG_I2C_MV64XXX=m ## the I2C controller used in both A64 and H5