[PATCH 0/3] raspi: cleanup of vc fixups

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux