Skip to content

Commit

Permalink
configs: arm64/bcm2711: Enable V3D
Browse files Browse the repository at this point in the history
This allows for 3d acceleration with a 64bit kernel on the Pi 4.

ARCH_BCM wasn't defined at all for arm64, so I copied it over from arm.

The PM driver is now default for BCM2835
  • Loading branch information
phire committed Jul 8, 2019
1 parent 8ea4810 commit 0a92373
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 7 deletions.
23 changes: 16 additions & 7 deletions arch/arm64/Kconfig.platforms
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ config ARCH_ALPINE
This enables support for the Annapurna Labs Alpine
Soc family.

menuconfig ARCH_BCM
bool "Broadcom SoC Support"
help
This enables support for Broadcom ARM based SoC chips

if ARCH_BCM

config ARCH_BCM2835
bool "Broadcom BCM2835 family"
select TIMER_OF
Expand All @@ -37,6 +44,15 @@ config ARCH_BCM_IPROC
help
This enables support for Broadcom iProc based SoCs

config ARCH_BRCMSTB
bool "Broadcom Set-Top-Box SoCs"
select BRCMSTB_L2_IRQ
select GENERIC_IRQ_CHIP
help
This enables support for Broadcom's ARMv8 Set Top Box SoCs

endif

config ARCH_BERLIN
bool "Marvell Berlin SoC Family"
select DW_APB_ICTL
Expand All @@ -45,13 +61,6 @@ config ARCH_BERLIN
help
This enables support for Marvell Berlin SoC Family

config ARCH_BRCMSTB
bool "Broadcom Set-Top-Box SoCs"
select BRCMSTB_L2_IRQ
select GENERIC_IRQ_CHIP
help
This enables support for Broadcom's ARMv8 Set Top Box SoCs

config ARCH_EXYNOS
bool "ARMv8 based Samsung Exynos SoC family"
select COMMON_CLK_SAMSUNG
Expand Down
2 changes: 2 additions & 0 deletions arch/arm64/configs/bcm2711_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ CONFIG_BLK_DEV_INITRD=y
CONFIG_EMBEDDED=y
# CONFIG_COMPAT_BRK is not set
CONFIG_PROFILING=y
CONFIG_ARCH_BCM=y
CONFIG_ARCH_BCM2835=y
CONFIG_PCI=y
CONFIG_PCIE_BRCMSTB=y
Expand Down Expand Up @@ -790,6 +791,7 @@ CONFIG_DRM_LOAD_EDID_FIRMWARE=y
CONFIG_DRM_UDL=m
CONFIG_DRM_PANEL_SIMPLE=m
CONFIG_DRM_PANEL_RASPBERRYPI_TOUCHSCREEN=m
CONFIG_DRM_V3D=m
CONFIG_DRM_VC4=m
CONFIG_DRM_TINYDRM=m
CONFIG_TINYDRM_MI0283QT=m
Expand Down
1 change: 1 addition & 0 deletions drivers/soc/bcm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ menu "Broadcom SoC drivers"
config BCM2835_POWER
bool "BCM2835 power domain driver"
depends on ARCH_BCM2835 || (COMPILE_TEST && OF)
default y if ARCH_BCM2835
select PM_GENERIC_DOMAINS if PM
select RESET_CONTROLLER
help
Expand Down

0 comments on commit 0a92373

Please sign in to comment.