public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 0/2] Update reserved memory for simple framebuffer
@ 2020-02-25  5:10 Michael Trimarchi
  2020-02-25  5:10 ` [PATCH 1/2] common: fdt: Add a function for reserving memory without kernel linear mapping Michael Trimarchi
  2020-02-25  5:10 ` [PATCH 2/2] video: meson: Use reserving memory function " Michael Trimarchi
  0 siblings, 2 replies; 7+ messages in thread
From: Michael Trimarchi @ 2020-02-25  5:10 UTC (permalink / raw)
  To: u-boot

Reserved memory for simple frame buffer should be created in a different
way:

+       aliases {
+               display0 = &lcdif;
+       };
+
+       reserved-memory {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges;
+
+               display_reserved: framebuffer at 86fa2000 {
+                       reg = <0x86fa2000 0x80000>;
+                       no-map;
+               };
+
+       };

We add a function to change the loaded dts and inject those information.
I have added another patch for meson. Right now I'm testing on tinker-s
board.

Michael Trimarchi (2):
  common: fdt: Add a function for reserving memory without kernel linear
    mapping
  video: meson: Use reserving memory function without kernel linear
    mapping

 common/fdt_support.c            | 40 +++++++++++++++++++++++++++++++++
 drivers/video/meson/meson_vpu.c |  6 ++---
 include/fdt_support.h           | 11 +++++++++
 3 files changed, 54 insertions(+), 3 deletions(-)

-- 
2.17.1

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-04-14 16:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-25  5:10 [PATCH 0/2] Update reserved memory for simple framebuffer Michael Trimarchi
2020-02-25  5:10 ` [PATCH 1/2] common: fdt: Add a function for reserving memory without kernel linear mapping Michael Trimarchi
2020-02-26 15:33   ` Simon Glass
2020-02-29 10:44     ` Michael Nazzareno Trimarchi
2022-04-14 16:17   ` Michael Nazzareno Trimarchi
2020-02-25  5:10 ` [PATCH 2/2] video: meson: Use reserving memory function " Michael Trimarchi
2020-02-26 15:33   ` Simon Glass

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox