arm: Update dts to work with the new HDLCD driver
The dts files in system/arm/dt currently assume that an (unreleased) gem5-specific virtual encoder is used as a remote endpoint for the HDLCD. This driver won't be released as a more general virtual encoder is about to be posted on the Linux DRI devel list and this encoder has now been merged with gem5's kernel tree. This changeset updates gem5's dts files to use that encoder. Change-Id: Ic1a1be728efd31603752fdfba005b6dbdea42e7e Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-by: Rene De Jong <rene.dejong@arm.com>
This commit is contained in:
parent
fa5fda90c0
commit
a46f77e695
2 changed files with 32 additions and 17 deletions
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2015 ARM Limited
|
* Copyright (c) 2015-2016 ARM Limited
|
||||||
* All rights reserved
|
* All rights reserved
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -106,7 +106,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
virt-encoder {
|
virt-encoder {
|
||||||
compatible = "gem5,hdlcd-virt-encoder";
|
compatible = "drm,virtual-encoder";
|
||||||
port {
|
port {
|
||||||
hdlcd0_virt_input: endpoint@0 {
|
hdlcd0_virt_input: endpoint@0 {
|
||||||
remote-endpoint = <&hdlcd0_output>;
|
remote-endpoint = <&hdlcd0_output>;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2015 ARM Limited
|
* Copyright (c) 2015-2016 ARM Limited
|
||||||
* All rights reserved
|
* All rights reserved
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -108,17 +108,21 @@
|
||||||
#error Unsupported number of CPUs
|
#error Unsupported number of CPUs
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
};
|
|
||||||
|
|
||||||
&hdlcd0 {
|
virt-encoder {
|
||||||
status = "ok";
|
compatible = "drm,virtual-encoder";
|
||||||
|
port {
|
||||||
|
hdlcd0_virt_input: endpoint@0 {
|
||||||
|
remote-endpoint = <&hdlcd0_output>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
display-timings {
|
display-timings {
|
||||||
native-mode = <&timing0>;
|
native-mode = <&timing0>;
|
||||||
|
|
||||||
timing0: timing_1080p60 {
|
timing0: timing_1080p60 {
|
||||||
/* 1920x1080-60 */
|
/* 1920x1080-60 */
|
||||||
clock-frequency = <148500>;
|
clock-frequency = <148500000>;
|
||||||
hactive = <1920>;
|
hactive = <1920>;
|
||||||
vactive = <1080>;
|
vactive = <1080>;
|
||||||
hfront-porch = <148>;
|
hfront-porch = <148>;
|
||||||
|
@ -129,4 +133,15 @@
|
||||||
vsync-len = <5>;
|
vsync-len = <5>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&hdlcd0 {
|
||||||
|
status = "ok";
|
||||||
|
|
||||||
|
port {
|
||||||
|
hdlcd0_output: endpoint@0 {
|
||||||
|
remote-endpoint = <&hdlcd0_virt_input>;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue