]> git.dujemihanovic.xyz Git - u-boot.git/commit
video: tegra-dc: pass DC regmap to internal devices
authorSvyatoslav Ryhel <clamor95@gmail.com>
Mon, 27 Mar 2023 08:11:47 +0000 (11:11 +0300)
committerAnatolij Gustschin <agust@denx.de>
Fri, 7 Apr 2023 17:47:52 +0000 (19:47 +0200)
commita8f4f9f8153ce885f4344961e49a4b3c1adb2414
tree68f54ac5f1848835304e065d72333454193180fb
parentb450c6c7e3cce2663cb9f03f0adc8d7539090906
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>
arch/arm/include/asm/arch-tegra/dc.h
drivers/video/tegra20/tegra-dc.c