[PATCH v3 0/6] refactore rpi board code

Oleksij Rempel o.rempel at pengutronix.de
Thu Feb 3 02:45:46 PST 2022


changes v3:
- make bcm2835 mbox to probe on first request solve dependency issue.
- remove phybases from clk driver
- move deep-probe to the separate patch

changes v2:
- rework clk driver to properly support deep-probe
- remove currently not supported compatibles from board code
- reduce struct size
- rework rpi_get_dcfg to return *dcfg directly

Oleksij Rempel (6):
  ARM: rpi: convert board code to a driver
  ARM: bcm2835 mbox: drop driver mode and probe on first request
  ARM: rpi: move clk support to a separate driver
  ARM: rpi: validate devicetree compatible instead of changing model
    name
  ARM: rpi: set host name based on DT compatible
  ARM: rpi: enable deep-probe support

 arch/arm/boards/raspberry-pi/rpi-common.c | 486 +++++++++++++---------
 arch/arm/mach-bcm283x/mbox.c              |  52 +--
 drivers/clk/Makefile                      |   1 +
 drivers/clk/clk-rpi.c                     |  85 ++++
 4 files changed, 394 insertions(+), 230 deletions(-)
 create mode 100644 drivers/clk/clk-rpi.c

-- 
2.30.2




More information about the barebox mailing list