mbox series

[v2,00/17] Misc changes for CSSI boards

Message ID cover.1713160866.git.christophe.leroy@csgroup.eu
Headers show
Series Misc changes for CSSI boards | expand

Message

Christophe Leroy April 15, 2024, 6:07 a.m. UTC
This series contains misc fixes and changes for CSSI boards.

Main changes are:
- Fix and optimise mpc8xx SPI driver
- Add support for LM74 temperature sensor
- Add support for loading FPGA on MCR3000

I will send a pull request later before close of the merge window.

Changes since v1:
- Added temperature and FPGA support and SPI driver optimisation

Christophe Leroy (13):
  board: cssi: Fix SPI nodes in DTS
  spi: mpc8xx: Add GPIO dependency
  spi: mpc8xx: Fix transfert when input or output buffer is NULL
  thermal: Add support for TI LM74
  board: cssi: Add support for SPI bus on MCR3000 board
  board: cssi: add support for reading temperature
  powerpc: 8xx: Set SDMA configuration register correcly
  spi: mpc8xx: Allow transfer of more than MAX_BUFFER len
  spi: mpc8xx: Use 16 bit mode for large transfers with even size
  spi: mpc8xx: Set up speed as requested
  board: cssi: Use HAVE_VENDOR_COMMON_LIB logic
  board: cssi: Load FPGA on MCR3000 board
  board: cssi: Read and display MCR board address

Hugo Dubois (2):
  board: cssi: Initialise port F on MIAE
  board: cssi: Properly initialise MAC address for fibre on CMPC885
    board

Jean-Michel CASAUBON (2):
  board: cssi: Fix MCR3000 board environment
  board: cssi: Allow use without HUSH shell

 arch/powerpc/cpu/mpc8xx/cpu_init.c |   6 ++
 arch/powerpc/dts/cmpc885.dts       |  18 ++++-
 arch/powerpc/dts/cmpcpro.dts       |  16 +++-
 arch/powerpc/dts/mcr3000.dts       |  41 +++++++++++
 board/cssi/cmpc885/Makefile        |   2 +-
 board/cssi/cmpc885/cmpc885.c       |   4 +-
 board/cssi/cmpc885/cmpc885.env     |   4 +-
 board/cssi/cmpcpro/Makefile        |   2 +-
 board/cssi/cmpcpro/cmpcpro.env     |   4 +-
 board/cssi/common/Makefile         |   8 ++
 board/cssi/common/common.c         |  42 ++++++++++-
 board/cssi/mcr3000/Makefile        |   1 +
 board/cssi/mcr3000/fpga_code.h     |  10 +++
 board/cssi/mcr3000/mcr3000.c       |  58 +++++++++++++++
 board/cssi/mcr3000/mcr3000.env     |   2 +-
 board/cssi/mcr3000/mcr3000_gpio.c  | 109 ++++++++++++++++++++++++++++
 configs/CMPC885_defconfig          |   3 +
 configs/CMPCPRO_defconfig          |   3 +
 configs/MCR3000_defconfig          |   8 ++
 drivers/spi/Kconfig                |   2 +-
 drivers/spi/mpc8xx_spi.c           | 113 ++++++++++++++++++++++++-----
 drivers/thermal/Kconfig            |   6 ++
 drivers/thermal/Makefile           |   1 +
 drivers/thermal/ti-lm74.c          |  52 +++++++++++++
 24 files changed, 476 insertions(+), 39 deletions(-)
 create mode 100644 board/cssi/common/Makefile
 create mode 100644 board/cssi/mcr3000/fpga_code.h
 create mode 100644 board/cssi/mcr3000/mcr3000_gpio.c
 create mode 100644 drivers/thermal/ti-lm74.c