From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 825E4C61DA4 for ; Sat, 11 Feb 2023 09:42:49 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E7E7E856B2; Sat, 11 Feb 2023 10:42:24 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=quarantine dis=none) header.from=csgroup.eu Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 0FD3B85794; Sat, 11 Feb 2023 10:42:13 +0100 (CET) Received: from pegase2.c-s.fr (pegase2.c-s.fr [93.17.235.10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 89B708577A for ; Sat, 11 Feb 2023 10:42:03 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=csgroup.eu Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=christophe.leroy@csgroup.eu Received: from localhost (mailhub3.si.c-s.fr [172.26.127.67]) by localhost (Postfix) with ESMTP id 4PDQcB2mfBz9sxq; Sat, 11 Feb 2023 10:42:02 +0100 (CET) Received: from pegase2.c-s.fr ([172.26.127.65]) by localhost (pegase2.c-s.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YtI1lnY0YivM; Sat, 11 Feb 2023 10:42:02 +0100 (CET) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase2.c-s.fr (Postfix) with ESMTP id 4PDQc91CsLz9snZ; Sat, 11 Feb 2023 10:42:01 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 0C1878B76C; Sat, 11 Feb 2023 10:42:01 +0100 (CET) Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id Z6S2R-_YSgXa; Sat, 11 Feb 2023 10:42:00 +0100 (CET) Received: from PO20335.IDSI0.si.c-s.fr (unknown [192.168.6.223]) by messagerie.si.c-s.fr (Postfix) with ESMTP id B5DA08B764; Sat, 11 Feb 2023 10:42:00 +0100 (CET) Received: from PO20335.IDSI0.si.c-s.fr (localhost [127.0.0.1]) by PO20335.IDSI0.si.c-s.fr (8.17.1/8.16.1) with ESMTPS id 31B9fYI41140405 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Sat, 11 Feb 2023 10:41:34 +0100 Received: (from chleroy@localhost) by PO20335.IDSI0.si.c-s.fr (8.17.1/8.17.1/Submit) id 31B9fYmu1140404; Sat, 11 Feb 2023 10:41:34 +0100 X-Authentication-Warning: PO20335.IDSI0.si.c-s.fr: chleroy set sender to christophe.leroy@csgroup.eu using -f From: Christophe Leroy To: Tom Rini Cc: Christophe Leroy , u-boot@lists.denx.de, stephane.franjou@csgroup.eu Subject: [PATCH v2 0/8] Add new equipment from CSSI - v2 Date: Sat, 11 Feb 2023 10:41:17 +0100 Message-Id: X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean This series adds a new CPU board called CMPC885 which is used on two equipments called MCR3000 second generation and MIAE/VGoIP devices, manufactured by former CSSI company now called CS GROUP France. This new board has a mpc 885 cpu. The four first patches of the series update the already included MCR3000 board in order to get more similarities. Changes in v2: - Migrate existing board to CONFIG_EXTRA_ENV_TEXT and also use that for the new board - Rebased on top of 2023.04-rc1 - More aggressive filename changes to lowercase - CI: https://source.denx.de/u-boot/custodians/u-boot-mpc8xx/-/pipelines/15137 Christophe Leroy (8): 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/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/{MCR3000 => cmpc885}/Makefile | 6 +- 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/{MCR3000 => cmpc885}/u-boot.lds | 2 +- board/cssi/{MCR3000 => mcr3000}/Kconfig | 4 +- board/cssi/{MCR3000 => mcr3000}/Makefile | 2 +- .../{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 .../{MCR3000_defconfig => CMPC885_defconfig} | 87 +- 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 + 28 files changed, 1966 insertions(+), 182 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 copy board/cssi/{MCR3000 => cmpc885}/Makefile (52%) 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 copy board/cssi/{MCR3000 => cmpc885}/u-boot.lds (97%) 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%) copy configs/{MCR3000_defconfig => CMPC885_defconfig} (54%) 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 -- 2.39.1