-
Notifications
You must be signed in to change notification settings - Fork 5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for the RP1 DSI hardware. Signed-off-by: Nick Hollinghurst <[email protected]> drm/rp1: depends on, instead of select, MFD_RP1 According to kconfig-language.txt [1], select should be used only for "non-visible symbols ... and for symbols with no dependencies". Since MFD_RP1 both is visible and has a dependency, "select" should not be used and "depends on" should be used instead. In particular, this fixes the build of this kernel tree on NixOS, where its kernel config system will try to answer 'M' to as many config as possible. [1] https://www.kernel.org/doc/html/latest/kbuild/kconfig-language.html Signed-off-by: Ratchanan Srirattanamet <[email protected]>
- Loading branch information
1 parent
e804ba2
commit bf6bcff
Showing
10 changed files
with
2,605 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
source "drivers/gpu/drm/rp1/rp1-dsi/Kconfig" | ||
|
||
source "drivers/gpu/drm/rp1/rp1-dpi/Kconfig" | ||
|
||
source "drivers/gpu/drm/rp1/rp1-vec/Kconfig" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
obj-$(CONFIG_DRM_RP1_DSI) += rp1-dsi/ | ||
obj-$(CONFIG_DRM_RP1_DPI) += rp1-dpi/ | ||
obj-$(CONFIG_DRM_RP1_VEC) += rp1-vec/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# SPDX-License-Identifier: GPL-2.0-only | ||
config DRM_RP1_DSI | ||
tristate "DRM Support for RP1 DSI" | ||
depends on DRM && MFD_RP1 | ||
select DRM_GEM_DMA_HELPER | ||
select DRM_KMS_HELPER | ||
select DRM_MIPI_DSI | ||
select DRM_VRAM_HELPER | ||
select DRM_TTM | ||
select DRM_TTM_HELPER | ||
select GENERIC_PHY | ||
select GENERIC_PHY_MIPI_DPHY | ||
help | ||
Choose this option to enable DSI display on RP1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# SPDX-License-Identifier: GPL-2.0-only | ||
|
||
drm-rp1-dsi-y := rp1_dsi.o rp1_dsi_dma.o rp1_dsi_dsi.o | ||
|
||
obj-$(CONFIG_DRM_RP1_DSI) += drm-rp1-dsi.o |
Oops, something went wrong.