diff options
author | Svyatoslav Ryhel <clamor95@gmail.com> | 2023-03-27 11:11:47 +0300 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2023-04-07 19:47:52 +0200 |
commit | a8f4f9f8153ce885f4344961e49a4b3c1adb2414 (patch) | |
tree | 68f54ac5f1848835304e065d72333454193180fb /arch/arm/include | |
parent | b450c6c7e3cce2663cb9f03f0adc8d7539090906 (diff) | |
download | u-boot-a8f4f9f8153ce885f4344961e49a4b3c1adb2414.zip u-boot-a8f4f9f8153ce885f4344961e49a4b3c1adb2414.tar.gz u-boot-a8f4f9f8153ce885f4344961e49a4b3c1adb2414.tar.bz2 |
video: tegra-dc: pass DC regmap to internal devices
Internal video devices like DSI and HDMI controllers
require sending commands into DC register field.
To make this available, lets create platform data,
which is restricted to pass DC regmap only to
pre-defined devices.
Tested-by: Andreas Westman Dorcsak <hedmoo@yahoo.com> # ASUS TF T30
Tested-by: Nicolas Chauvet <kwizart@gmail.com> # Paz00
Tested-by: Robert Eckelmann <longnoserob@gmail.com> # ASUS TF101 T20
Tested-by: Svyatoslav Ryhel <clamor95@gmail.com> # HTC One X T30
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/arch-tegra/dc.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-tegra/dc.h b/arch/arm/include/asm/arch-tegra/dc.h index 6444af2..7613d84 100644 --- a/arch/arm/include/asm/arch-tegra/dc.h +++ b/arch/arm/include/asm/arch-tegra/dc.h @@ -569,4 +569,12 @@ enum { #define DC_N_WINDOWS 5 #define DC_REG_SAVE_SPACE (DC_N_WINDOWS + 5) +#define TEGRA_DSI_A "dsi@54300000" +#define TEGRA_DSI_B "dsi@54400000" + +struct tegra_dc_plat { + struct udevice *dev; /* Display controller device */ + struct dc_ctlr *dc; /* Display controller regmap */ +}; + #endif /* __ASM_ARCH_TEGRA_DC_H */ |