summaryrefslogtreecommitdiff
path: root/arch/sandbox
diff options
context:
space:
mode:
authorNikhil M Jain <n-jain1@ti.com>2023-01-31 15:35:15 +0530
committerAnatolij Gustschin <agust@denx.de>2023-02-04 18:15:14 +0100
commit2f3d6a42300616630b3c9c1e52cb6e58da390393 (patch)
tree0c90068db0ac29427d88edf74296688485b69431 /arch/sandbox
parent0347cc7732703bdf94bba5ce8a157c2174f01067 (diff)
downloadu-boot-2f3d6a42300616630b3c9c1e52cb6e58da390393.tar.gz
u-boot-2f3d6a42300616630b3c9c1e52cb6e58da390393.tar.bz2
u-boot-2f3d6a42300616630b3c9c1e52cb6e58da390393.zip
test: dm: test-fdt: Add decode_panel_timing test
To test decode_panel_timing add a panel-timings node and a DM test for decode panel timingd by matching the panel timing node parameters. Signed-off-by: Nikhil M Jain <n-jain1@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sandbox')
-rw-r--r--arch/sandbox/dts/test.dts18
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts
index 8c05927670..f98f0152ee 100644
--- a/arch/sandbox/dts/test.dts
+++ b/arch/sandbox/dts/test.dts
@@ -342,6 +342,24 @@
vsync-len = <13>;
};
};
+ panel-timings {
+ clock-frequency = <6500000>;
+ hactive = <240>;
+ vactive = <320>;
+ hfront-porch = <6>;
+ hback-porch = <7>;
+ hsync-len = <1>;
+ vback-porch = <5>;
+ vfront-porch = <8>;
+ vsync-len = <2>;
+ hsync-active = <1>;
+ vsync-active = <0>;
+ de-active = <1>;
+ pixelclk-active = <1>;
+ interlaced;
+ doublescan;
+ doubleclk;
+ };
};
junk {