mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/3] raspi: cleanup of vc fixups
@ 2024-04-22 10:16 Jonas Richardsen
  2024-04-22 10:16 ` [PATCH 1/3] raspi: add fixup method for specific properties Jonas Richardsen
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Jonas Richardsen @ 2024-04-22 10:16 UTC (permalink / raw)
  To: barebox; +Cc: Jonas Richardsen, denis.osterland

This patch series contains a few changes to the video core fixups where
the desired behaviour is obvious from raspberry device trees. These were
tested on a Raspberry Pi 4B. There's a few more differences between the
video core device tree and the one provided by barebox for which a
discussion is welcome:

- After a [recent change][link1] the `/chosen` node of the device tree
  is now fully copied from the video core device tree. This could
  possibly be restricted to only copy relevant properties.
- The properties `memreserve` and `serial-number` of the root node are
  added by the video core and could also be copied. 
- The property `model` of the root node is updated with the specific
  hardware revision of the pi.
- The video core adds the two aliases `i2c_arm` and `i2c_vc` (as
  properties to the `/aliases` node). As the [raspberrypi
  documentation][link2] suggests to use the former for writing overlays,
  it should maybe also be copied as a fixup.

[link1]: https://git.pengutronix.de/cgit/barebox/commit/?id=30754085bdba91853acbb3973ce348bf5aa2c9e7
[link2]: https://www.raspberrypi.com/documentation/computers/configuration.html#part3.3

Jonas Richardsen (3):
  raspi: add fixup method for specific properties
  raspi: override properties in /reserved-memory node of device tree
  raspi: add a fixup for the `dma-ranges` property of the `/emmc2bus` dt
    node

 arch/arm/boards/raspberry-pi/rpi-common.c | 50 ++++++++++++++++++++++-
 1 file changed, 49 insertions(+), 1 deletion(-)

-- 
2.42.0




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

end of thread, other threads:[~2024-04-23  8:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-22 10:16 [PATCH 0/3] raspi: cleanup of vc fixups Jonas Richardsen
2024-04-22 10:16 ` [PATCH 1/3] raspi: add fixup method for specific properties Jonas Richardsen
2024-04-22 10:16 ` [PATCH 2/3] raspi: override properties in /reserved-memory node of device tree Jonas Richardsen
2024-04-22 10:16 ` [PATCH 3/3] raspi: add a fixup for the `dma-ranges` property of the `/emmc2bus` dt node Jonas Richardsen
2024-04-23  8:34 ` [PATCH 0/3] raspi: cleanup of vc fixups Sascha Hauer

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