diff options
author | Simon Glass <sjg@chromium.org> | 2016-01-30 16:37:56 -0700 |
---|---|---|
committer | Tom Warren <twarren@nvidia.com> | 2016-02-16 09:17:52 -0700 |
commit | 9e6866d3b6687aaab854b29dad9809c7569e61a0 (patch) | |
tree | 3ef64bded78f585f23fee6dd9499a2a84cd385a5 /arch/arm/dts | |
parent | ce0c474a72a72efe83808473a3411986a564e86b (diff) | |
download | u-boot-imx-9e6866d3b6687aaab854b29dad9809c7569e61a0.zip u-boot-imx-9e6866d3b6687aaab854b29dad9809c7569e61a0.tar.gz u-boot-imx-9e6866d3b6687aaab854b29dad9809c7569e61a0.tar.bz2 |
tegra: video: Convert tegra20 LCD driver to driver model
Move this driver over to use driver model. This involves rearranging the
code somewhat. The effect is that everything is run from the probe() method.
Boards which use this are fixed up, but only seaboard is tested.
Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Anatolij Gustschin <agust@denx.de>
Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'arch/arm/dts')
-rw-r--r-- | arch/arm/dts/tegra20-seaboard.dts | 4 | ||||
-rw-r--r-- | arch/arm/dts/tegra20.dtsi | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/dts/tegra20-seaboard.dts b/arch/arm/dts/tegra20-seaboard.dts index 02ea64d..15bd121 100644 --- a/arch/arm/dts/tegra20-seaboard.dts +++ b/arch/arm/dts/tegra20-seaboard.dts @@ -40,6 +40,10 @@ nvidia,panel = <&lcd_panel>; }; }; + + dc@54240000 { + status = "disabled"; + }; }; /* This is not used in U-Boot, but is expected to be in kernel .dts */ diff --git a/arch/arm/dts/tegra20.dtsi b/arch/arm/dts/tegra20.dtsi index 5b14be4..31223e4 100644 --- a/arch/arm/dts/tegra20.dtsi +++ b/arch/arm/dts/tegra20.dtsi @@ -10,6 +10,7 @@ interrupt-parent = <&lic>; host1x@50000000 { + u-boot,dm-pre-reloc; compatible = "nvidia,tegra20-host1x", "simple-bus"; reg = <0x50000000 0x00024000>; interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, /* syncpt */ @@ -77,6 +78,7 @@ }; dc@54200000 { + u-boot,dm-pre-reloc; compatible = "nvidia,tegra20-dc"; reg = <0x54200000 0x00040000>; interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>; |