Re: [GIT PULL] Please pull u-boot-mpc8xx

2024-04-18 Thread Tom Rini
On Thu, Apr 18, 2024 at 04:03:28PM +, Christophe Leroy wrote:

> Hi Tom,
> 
> This pull request adds support for temperature sensors et FPGA loading 
> on boards from CS GROUP France.
> 
> CI: https://source.denx.de/u-boot/custodians/u-boot-mpc8xx/-/pipelines/20416
> 
> Thanks
> Christophe
> 
> The following changes since commit 2c3fa4b8add3cb6a440184ab67debc6867d383c0:
> 
>sandbox: don't call os_close with invalid file descriptor (2024-04-17 
> 17:06:16 -0600)
> 
> are available in the Git repository at:
> 
>g...@source.denx.de:u-boot/custodians/u-boot-mpc8xx.git for-2024.07
> 
> for you to fetch changes up to 741e30e8c2b837dc92ee2eedec5478afdd83a316:
> 
>board: cssi: Read and display MCR board address (2024-04-18 15:47:46 
> +0200)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature


[GIT PULL] Please pull u-boot-mpc8xx

2024-04-18 Thread Christophe Leroy
Hi Tom,

This pull request adds support for temperature sensors et FPGA loading 
on boards from CS GROUP France.

CI: https://source.denx.de/u-boot/custodians/u-boot-mpc8xx/-/pipelines/20416

Thanks
Christophe

The following changes since commit 2c3fa4b8add3cb6a440184ab67debc6867d383c0:

   sandbox: don't call os_close with invalid file descriptor (2024-04-17 
17:06:16 -0600)

are available in the Git repository at:

   g...@source.denx.de:u-boot/custodians/u-boot-mpc8xx.git for-2024.07

for you to fetch changes up to 741e30e8c2b837dc92ee2eedec5478afdd83a316:

   board: cssi: Read and display MCR board address (2024-04-18 15:47:46 
+0200)


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 | 9778 

  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, 10244 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


Re: [GIT PULL] Please pull u-boot-mpc8xx

2023-05-07 Thread Tom Rini
On Fri, May 05, 2023 at 05:16:25PM +, Christophe Leroy wrote:

> Hi Tom,
> 
> This pull request adds misc fixes for cssi boards and activates
> CPM relocation in order to enable the use of SCC4 in
> QMC (QUICC Multi-Channel) mode.
> 
> CI: https://source.denx.de/u-boot/custodians/u-boot-mpc8xx/-/pipelines/16261
> 
> Thanks
> Christophe
> 
> 
> The following changes since commit 6735ab59e6fd71ced1c58d8dfb3dd6baf3690d16:
> 
>Prepare v2023.07-rc1 (2023-05-01 12:02:02 -0400)
> 
> are available in the Git repository at:
> 
>g...@source.denx.de:u-boot/custodians/u-boot-mpc8xx.git for-2023.07-2
> 
> for you to fetch changes up to 0ec8ebef87d78529d1b4f3e7beaced0b9fbea629:
> 
>board: cssi: Activate SMC relocation on CMPC885 board for MIAE device 
> (2023-05-05 07:26:53 +0200)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature


[GIT PULL] Please pull u-boot-mpc8xx

2023-05-05 Thread Christophe Leroy
Hi Tom,

This pull request adds misc fixes for cssi boards and activates
CPM relocation in order to enable the use of SCC4 in
QMC (QUICC Multi-Channel) mode.

CI: https://source.denx.de/u-boot/custodians/u-boot-mpc8xx/-/pipelines/16261

Thanks
Christophe


The following changes since commit 6735ab59e6fd71ced1c58d8dfb3dd6baf3690d16:

   Prepare v2023.07-rc1 (2023-05-01 12:02:02 -0400)

are available in the Git repository at:

   g...@source.denx.de:u-boot/custodians/u-boot-mpc8xx.git for-2023.07-2

for you to fetch changes up to 0ec8ebef87d78529d1b4f3e7beaced0b9fbea629:

   board: cssi: Activate SMC relocation on CMPC885 board for MIAE device 
(2023-05-05 07:26:53 +0200)


Christophe Leroy (11):
   board: cssi: Remove duplicated FPGA loading sequence on CMPC885
   board: cssi: Remove stale macro from cmpcpro.c
   board: cssi: Load CMPC885's motherboard FPGA earlier
   powerpc: mpc8xx: CPM parameter RAM can be anywhere
   powerpc: mpc8xx: Reorganise init RAM
   powerpc: Force cast on memcpy_toio()
   powerpc: mpc885: Add CPM USB-SOF microcode for CPM15 ERRATA
   powerpc: mpc8xx: Add SMC relocation CPM microcode
   spi, mpc8xx: Take parameter RAM relocation into account
   serial, mpc8xx: Take parameter RAM relocation into account
   board: cssi: Activate SMC relocation on CMPC885 board for MIAE device

  arch/powerpc/cpu/mpc8xx/Kconfig  |  45 
  arch/powerpc/cpu/mpc8xx/Makefile |   2 +
  arch/powerpc/cpu/mpc8xx/cpu.c|   2 +-
  arch/powerpc/cpu/mpc8xx/micropatch_smc.c | 105 
+++
  arch/powerpc/cpu/mpc8xx/micropatch_usb_sof.c |  38 ++
  arch/powerpc/cpu/mpc8xx/start.S  |   8 +-
  arch/powerpc/include/asm/cpm_8xx.h   |  41 ++-
  arch/powerpc/include/asm/immap_8xx.h |   8 +-
  arch/powerpc/include/asm/io.h|   6 +-
  board/cssi/cmpc885/cmpc885.c |  43 +++
  board/cssi/cmpcpro/cmpcpro.c |   5 --
  configs/CMPC885_defconfig|   3 +-
  drivers/serial/serial_mpc8xx.c   |  24 +++---
  drivers/spi/mpc8xx_spi.c |   8 +-
  include/configs/cmpc885.h|   1 +
  include/configs/mcr3000.h|   1 +
  16 files changed, 254 insertions(+), 86 deletions(-)
  create mode 100644 arch/powerpc/cpu/mpc8xx/micropatch_smc.c
  create mode 100644 arch/powerpc/cpu/mpc8xx/micropatch_usb_sof.c


Re: [GIT PULL] Please pull u-boot-mpc8xx

2023-04-29 Thread Tom Rini
On Sat, Apr 29, 2023 at 11:56:15AM +, Christophe Leroy wrote:

> Hi Tom,
> 
> This pull request adds support for the last CPU board from
> CS GROUP France (previously CSSI).
> 
> That CPU board called CMPCPRO has a mpc8321E CPU (Family PQII PRO hence
> its name) and can be plugged in place of the CMPC885 board.
> 
> In order to support that new board, the following changes are included
> in this series:
> - Make the mpc8xx watchdog driver more generic for reusing it
> with mpc83xx
> - Fix various small problems on mpc83xx platform
> - Add a GPIO Driver for QE GPIOs
> - Add support for mpc832x into mpc83xx SPI driver
> - Refactor existing board code that will be shared with new board
> - Add the new board
> 
> CI: https://source.denx.de/u-boot/custodians/u-boot-mpc8xx/-/pipelines/16153
> 
> Thanks
> Christophe
> 
> 
> The following changes since commit a25dcda452bf6a6de72764a8d990d72e5def643d:
> 
>Revert "disk: Use a helper function to reduce duplication" 
> (2023-04-03 10:43:37 -0400)
> 
> are available in the Git repository at:
> 
>g...@source.denx.de:u-boot/custodians/u-boot-mpc8xx.git for-2023.07
> 
> for you to fetch changes up to 4d0c8db74d83e43dec4e7481b2d1e194f51d907b:
> 
>board: cssi: Add CPU board CMPCPRO (2023-04-28 17:52:23 +0200)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature


[GIT PULL] Please pull u-boot-mpc8xx

2023-04-29 Thread Christophe Leroy
Hi Tom,

This pull request adds support for the last CPU board from
CS GROUP France (previously CSSI).

That CPU board called CMPCPRO has a mpc8321E CPU (Family PQII PRO hence
its name) and can be plugged in place of the CMPC885 board.

In order to support that new board, the following changes are included
in this series:
- Make the mpc8xx watchdog driver more generic for reusing it
with mpc83xx
- Fix various small problems on mpc83xx platform
- Add a GPIO Driver for QE GPIOs
- Add support for mpc832x into mpc83xx SPI driver
- Refactor existing board code that will be shared with new board
- Add the new board

CI: https://source.denx.de/u-boot/custodians/u-boot-mpc8xx/-/pipelines/16153

Thanks
Christophe


The following changes since commit a25dcda452bf6a6de72764a8d990d72e5def643d:

   Revert "disk: Use a helper function to reduce duplication" 
(2023-04-03 10:43:37 -0400)

are available in the Git repository at:

   g...@source.denx.de:u-boot/custodians/u-boot-mpc8xx.git for-2023.07

for you to fetch changes up to 4d0c8db74d83e43dec4e7481b2d1e194f51d907b:

   board: cssi: Add CPU board CMPCPRO (2023-04-28 17:52:23 +0200)


Christophe Leroy (15):
   powerpc: mpc8xx: Migrate to CONFIG_SYS_CLK_FREQ
   watchdog: mpc8xx: Rename it mpc8xxx
   watchdog: mpc8xxx: Make it generic
   watchdog: mpc8xxx: Add support for mpc83xx
   powerpc: mpc832x: Fix reset word
   powerpc: mpc83xx: Fix soc.h
   powerpc: mpc83xx: Don't activate MMU when not necessary
   clk: mpc83xx: Fix clocks for mpc832x
   gpio: Add QUICC Engine GPIOs driver
   spi: mpc8xxx: Add support for SPI on mpc832x
   board: cssi: Migrate to hashed password
   board: cssi: Create dedicated file for common sources
   board: cssi: Refactor EEPROM read
   board: cssi: Move all mother board code into common.c
   board: cssi: Add CPU board CMPCPRO

  arch/powerpc/Kconfig |   2 +-
  arch/powerpc/cpu/mpc83xx/Kconfig |   5 +
  arch/powerpc/cpu/mpc83xx/cpu.c   |   2 +-
  arch/powerpc/cpu/mpc83xx/hrcw/Kconfig|   3 +-
  arch/powerpc/cpu/mpc83xx/start.S |   4 +-
  arch/powerpc/cpu/mpc8xx/Kconfig  |   6 +-
  arch/powerpc/cpu/mpc8xx/cpu_init.c   |   5 +-
  arch/powerpc/cpu/mpc8xx/speed.c  |   4 +-
  arch/powerpc/dts/Makefile|   1 +
  arch/powerpc/dts/cmpc885.dts |  12 +-
  arch/powerpc/dts/cmpcpro.dts | 189 +
  arch/powerpc/dts/mcr3000.dts |  20 +-
  arch/powerpc/include/asm/arch-mpc83xx/gpio.h |   5 +
  arch/powerpc/include/asm/arch-mpc83xx/soc.h  |  16 +-
  arch/powerpc/include/asm/mpc8xxx_spi.h   |   1 +
  board/cssi/MAINTAINERS   |   2 +
  board/cssi/cmpc885/Makefile  |   2 +-
  board/cssi/cmpc885/cmpc885.c | 241 ++--
  board/cssi/cmpcpro/Kconfig   |  26 ++
  board/cssi/cmpcpro/Makefile  |   8 +
  board/cssi/cmpcpro/cmpcpro.c | 404 
+++
  board/cssi/cmpcpro/cmpcpro.env   |   8 +
  board/cssi/cmpcpro/nand.c|  43 +++
  board/cssi/common/common.c   | 219 +++
  board/cssi/common/common.h   |  15 +
  board/cssi/mcr3000/mcr3000.c |  14 -
  configs/CMPC885_defconfig|   9 +-
  configs/CMPCPRO_defconfig| 209 ++
  configs/MCR3000_defconfig|  10 +-
  drivers/clk/mpc83xx_clk.c|   7 +
  drivers/gpio/Kconfig |  18 ++
  drivers/gpio/Makefile|   1 +
  drivers/gpio/qe_gpio.c   | 170 +++
  drivers/spi/mpc8xxx_spi.c|  13 +
  drivers/watchdog/Kconfig |  26 +-
  drivers/watchdog/Makefile|   2 +-
  drivers/watchdog/mpc8xx_wdt.c|  75 -
  drivers/watchdog/mpc8xxx_wdt.c   | 112 
  include/configs/cmpc885.h|   6 +
  include/configs/cmpcpro.h|  99 +++
  40 files changed, 1668 insertions(+), 346 deletions(-)
  create mode 100644 arch/powerpc/dts/cmpcpro.dts
  create mode 100644 board/cssi/cmpcpro/Kconfig
  create mode 100644 board/cssi/cmpcpro/Makefile
  create mode 100644 board/cssi/cmpcpro/cmpcpro.c
  create mode 100644 board/cssi/cmpcpro/cmpcpro.env
  create mode 100644 board/cssi/cmpcpro/nand.c
  create mode 100644 board/cssi/common/common.c
  create mode 100644 board/cssi/common/common.h
  create mode 100644 configs/CMPCPRO_defconfig
  create mode 100644 drivers/gpio/qe_gpio.c
  delete mode 100644 drivers/watchdog/mpc8xx_wdt.c
  create mode 100644 drivers/watchdog/mpc8xxx_wdt.c
  create mode 100644 include/configs/cmpcpro.h


Re: [GIT PULL] Please pull u-boot-mpc8xx

2023-02-12 Thread Tom Rini
On Sun, Feb 12, 2023 at 06:42:55PM +, Christophe Leroy wrote:

> Hi Tom,
> 
> This pull requests brings:
> - A fix for a long standing bug that has been exposed by commit 
> 50128aeb0f8 ("cyclic: get rid of cyclic_init()") preventing 8xx boards 
> from booting since u-boot 2023.01
> - A GPIO driver for powerpc 8xx chip
> - Fixup for powerpc 8xx SPI driver
> - A new powerpc 8xx board
> - The two devices having that board.
> 
> This is my first pull request let me know if anything.
> 
> CI: https://source.denx.de/u-boot/custodians/u-boot-mpc8xx/-/pipelines/15137
> 
> Thanks
> Christophe
> 
> 
> The following changes since commit 30db474704405be823259851cbb76fa05366c8af:
> 
>Prepare v2023.04-rc1 (2023-01-30 15:36:45 -0500)
> 
> are available in the Git repository at:
> 
>g...@source.denx.de:u-boot/custodians/u-boot-mpc8xx.git for-2023.04
> 
> for you to fetch changes up to 6a8c36b936ab69a7521ec1ecfd20f7b85f7f59c5:
> 
>board: cssi: Add MIAE & VGoIP devices (2023-02-11 08:47:58 +0100)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature


[GIT PULL] Please pull u-boot-mpc8xx

2023-02-12 Thread Christophe Leroy
Hi Tom,

This pull requests brings:
- A fix for a long standing bug that has been exposed by commit 
50128aeb0f8 ("cyclic: get rid of cyclic_init()") preventing 8xx boards 
from booting since u-boot 2023.01
- A GPIO driver for powerpc 8xx chip
- Fixup for powerpc 8xx SPI driver
- A new powerpc 8xx board
- The two devices having that board.

This is my first pull request let me know if anything.

CI: https://source.denx.de/u-boot/custodians/u-boot-mpc8xx/-/pipelines/15137

Thanks
Christophe


The following changes since commit 30db474704405be823259851cbb76fa05366c8af:

   Prepare v2023.04-rc1 (2023-01-30 15:36:45 -0500)

are available in the Git repository at:

   g...@source.denx.de:u-boot/custodians/u-boot-mpc8xx.git for-2023.04

for you to fetch changes up to 6a8c36b936ab69a7521ec1ecfd20f7b85f7f59c5:

   board: cssi: Add MIAE & VGoIP devices (2023-02-11 08:47:58 +0100)


Christophe Leroy (9):
   powerpc/mpc8xx: Zero boot_flags arg for calling board_init_f()
   board: MCR3000: Use lowercase filenames
   board: MCR3000: Migrate to using CONFIG_EXTRA_ENV_TEXT
   board: MCR3000: Modernise the settings to properly work on 
lastest u-boot version
   board: MCR3000: Remove update of non-existing e1-wan DT node
   driver, gpio: Add support for MPC 8xx CPU ports
   spi, mpc8xx: Add support for chipselect via GPIO and fixups
   board: cssi: Add new board MCR3000_2G
   board: cssi: Add MIAE & VGoIP devices

  arch/powerpc/Kconfig   |1 +
  arch/powerpc/cpu/mpc8xx/Kconfig|6 +-
  arch/powerpc/cpu/mpc8xx/start.S|1 +
  arch/powerpc/dts/Makefile  |1 +
  arch/powerpc/dts/cmpc885.dts   |   94 ++
  arch/powerpc/include/asm/arch-mpc8xx/gpio.h|   12 +
  board/cssi/MAINTAINERS |4 +-
  board/cssi/cmpc885/Kconfig |   23 +
  board/cssi/cmpc885/Makefile|   10 +
  board/cssi/cmpc885/cmpc885.c   | 1106 

  board/cssi/cmpc885/cmpc885.env |7 +
  board/cssi/cmpc885/nand.c  |   47 +
  board/cssi/cmpc885/sdram.c |  107 ++
  board/cssi/cmpc885/u-boot.lds  |   95 ++
  board/cssi/{MCR3000 => mcr3000}/Kconfig|4 +-
  board/cssi/{MCR3000 => mcr3000}/Makefile   |2 +-
  .../cssi/{MCR3000/MCR3000.c => mcr3000/mcr3000.c}  |   12 -
  board/cssi/mcr3000/mcr3000.env |   14 +
  board/cssi/{MCR3000 => mcr3000}/nand.c |0
  board/cssi/{MCR3000 => mcr3000}/u-boot.lds |0
  configs/CMPC885_defconfig  |  110 ++
  configs/MCR3000_defconfig  |   10 +-
  drivers/gpio/Kconfig   |7 +
  drivers/gpio/Makefile  |1 +
  drivers/gpio/mpc8xx_gpio.c |  347 ++
  drivers/spi/mpc8xx_spi.c   |   96 +-
  include/configs/MCR3000.h  |   83 --
  include/configs/cmpc885.h  |   29 +
  include/configs/mcr3000.h  |   40 +
  29 files changed, 2129 insertions(+), 140 deletions(-)
  create mode 100644 arch/powerpc/dts/cmpc885.dts
  create mode 100644 arch/powerpc/include/asm/arch-mpc8xx/gpio.h
  create mode 100644 board/cssi/cmpc885/Kconfig
  create mode 100644 board/cssi/cmpc885/Makefile
  create mode 100644 board/cssi/cmpc885/cmpc885.c
  create mode 100644 board/cssi/cmpc885/cmpc885.env
  create mode 100644 board/cssi/cmpc885/nand.c
  create mode 100644 board/cssi/cmpc885/sdram.c
  create mode 100644 board/cssi/cmpc885/u-boot.lds
  rename board/cssi/{MCR3000 => mcr3000}/Kconfig (78%)
  rename board/cssi/{MCR3000 => mcr3000}/Makefile (90%)
  rename board/cssi/{MCR3000/MCR3000.c => mcr3000/mcr3000.c} (90%)
  create mode 100644 board/cssi/mcr3000/mcr3000.env
  rename board/cssi/{MCR3000 => mcr3000}/nand.c (100%)
  rename board/cssi/{MCR3000 => mcr3000}/u-boot.lds (100%)
  create mode 100644 configs/CMPC885_defconfig
  create mode 100644 drivers/gpio/mpc8xx_gpio.c
  delete mode 100644 include/configs/MCR3000.h
  create mode 100644 include/configs/cmpc885.h
  create mode 100644 include/configs/mcr3000.h