From patchwork Tue Oct 29 08:52:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernhard Messerklinger X-Patchwork-Id: 2003635 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Xd3y94Jnfz1xwF for ; Tue, 29 Oct 2024 19:56:01 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 390DA89177; Tue, 29 Oct 2024 09:55:59 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=reject dis=none) header.from=br-automation.com 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 B78C289174; Tue, 29 Oct 2024 09:55:57 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED,SPF_HELO_PASS,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 Received: from inet10.abb.com (spf.hitachienergy.com [138.225.1.74]) (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 664C28922F for ; Tue, 29 Oct 2024 09:55:07 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=reject dis=none) header.from=br-automation.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=bernhard.messerklinger@br-automation.com Received: from brsmtp01.br-automation.co.at ([10.15.2.36]) by inet10.abb.com (8.15.2/8.14.7) with ESMTPS id 49T8sSLj2635862 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 29 Oct 2024 09:54:29 +0100 Received: from extmail.br-automation.com ([192.168.112.26]) by brsmtp01.br-automation.co.at (HCL Domino Release 14.0FP2 HF7) with ESMTP id 2024102909542875-433524 ; Tue, 29 Oct 2024 09:54:28 +0100 Received: from ATEGGE3725.br-automation.co.at ([10.43.64.28]) by extmail.br-automation.com (HCL Domino Build V1202_05192022) with ESMTP id 2024102909542914-13076 ; Tue, 29 Oct 2024 09:54:29 +0100 From: "Bernhard Messerklinger" To: u-boot@lists.denx.de Cc: "Bernhard Messerklinger" , "Adam Ford" , "Fabio Estevam" , "Jonas Karlman" , "Kever Yang" , "Marek Vasut" , "Michal Simek" , "Neil Armstrong" , "Oliver Gaskell" , "Prasad Kummari" , "Simon Glass" , "Sumit Garg" , "Tom Rini" , "Tony Dinh" , "Wolfgang Wallner" Subject: [PATCH 0/4] Update board/BuR/common to keep current mainline boards compatible Date: Tue, 29 Oct 2024 09:52:08 +0100 Message-ID: <20241029085258.1740289-1-bernhard.messerklinger@br-automation.com> X-Mailer: git-send-email 2.46.1 MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on BRSMTPINTERN2/InternSMTP(Build V1202_05192022|May 19, 2022) at 10/29/2024 09:54:29 AM, Serialize by Router on BRSMTPINTERN2/InternSMTP(Build V1202_05192022|May 19, 2022) at 10/29/2024 09:54:29 AM, Itemize by SMTP Server on BRSMTP01/Eggelsberg/AT/B&R(Release 14.0FP2 HF7|September 06, 2024) at 10/29/2024 09:54:28 AM, Serialize by Router on BRSMTP01/Eggelsberg/AT/B&R(Release 14.0FP2 HF7|September 06, 2024) at 10/29/2024 09:54:32 AM, Serialize complete at 10/29/2024 09:54:32 AM X-TNEFEvaluated: 1 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.8 at phobos.denx.de X-Virus-Status: Clean Bernhard Messerklinger (4): board/BuR/common: use strlcpy instead of strncpy board/BuR/common: add parameter for reset controller I2C bus selection board/BuR/common: split br_resetc_bmode function board/BuR/zynq: initial commit arch/arm/dts/Makefile | 8 +- arch/arm/dts/zynq-brcp1-u-boot.dtsi | 110 +++++++ arch/arm/dts/zynq-brcp1.dtsi | 146 +++++++++ arch/arm/dts/zynq-brcp150-u-boot.dtsi | 129 ++++++++ arch/arm/dts/zynq-brcp150.dts | 187 ++++++++++++ arch/arm/dts/zynq-brcp170-u-boot.dtsi | 113 +++++++ arch/arm/dts/zynq-brcp170.dts | 153 ++++++++++ arch/arm/dts/zynq-brcp1_1r.dts | 29 ++ arch/arm/dts/zynq-brcp1_1r_switch.dts | 30 ++ arch/arm/dts/zynq-brcp1_2r.dts | 22 ++ arch/arm/dts/zynq-brsmarc2-u-boot.dtsi | 110 +++++++ arch/arm/dts/zynq-brsmarc2.dts | 172 +++++++++++ arch/arm/mach-zynq/Kconfig | 1 + board/BuR/common/br_resetc.c | 138 +++++---- board/BuR/common/br_resetc.h | 1 + board/BuR/common/common.c | 2 +- board/BuR/zynq/Kconfig | 13 + board/BuR/zynq/MAINTAINERS | 13 + board/BuR/zynq/Makefile | 15 + board/BuR/zynq/brcp150/board.c | 6 + board/BuR/zynq/brcp150/ps7_init_gpl.c | 284 ++++++++++++++++++ board/BuR/zynq/brcp170/board.c | 6 + board/BuR/zynq/brcp170/ps7_init_gpl.c | 280 +++++++++++++++++ board/BuR/zynq/brcp1_1r/board.c | 6 + board/BuR/zynq/brcp1_1r/ps7_init_gpl.c | 280 +++++++++++++++++ board/BuR/zynq/brcp1_1r_switch/board.c | 6 + board/BuR/zynq/brcp1_1r_switch/ps7_init_gpl.c | 276 +++++++++++++++++ board/BuR/zynq/brcp1_2r/board.c | 6 + board/BuR/zynq/brcp1_2r/ps7_init_gpl.c | 283 +++++++++++++++++ board/BuR/zynq/brsmarc2/board.c | 32 ++ board/BuR/zynq/brsmarc2/ps7_init_gpl.c | 282 +++++++++++++++++ board/BuR/zynq/common/board.c | 239 +++++++++++++++ board/BuR/zynq/env/brcp1.env | 106 +++++++ board/BuR/zynq/env/brcp150.env | 116 +++++++ configs/brcp150_defconfig | 123 ++++++++ configs/brcp170_defconfig | 122 ++++++++ configs/brcp1_1r_defconfig | 122 ++++++++ configs/brcp1_1r_switch_defconfig | 123 ++++++++ configs/brcp1_2r_defconfig | 122 ++++++++ configs/brsmarc2_defconfig | 122 ++++++++ include/configs/brzynq.h | 21 ++ 41 files changed, 4295 insertions(+), 60 deletions(-) create mode 100644 arch/arm/dts/zynq-brcp1-u-boot.dtsi create mode 100644 arch/arm/dts/zynq-brcp1.dtsi create mode 100644 arch/arm/dts/zynq-brcp150-u-boot.dtsi create mode 100644 arch/arm/dts/zynq-brcp150.dts create mode 100644 arch/arm/dts/zynq-brcp170-u-boot.dtsi create mode 100644 arch/arm/dts/zynq-brcp170.dts create mode 100644 arch/arm/dts/zynq-brcp1_1r.dts create mode 100644 arch/arm/dts/zynq-brcp1_1r_switch.dts create mode 100644 arch/arm/dts/zynq-brcp1_2r.dts create mode 100644 arch/arm/dts/zynq-brsmarc2-u-boot.dtsi create mode 100644 arch/arm/dts/zynq-brsmarc2.dts create mode 100644 board/BuR/zynq/Kconfig create mode 100644 board/BuR/zynq/MAINTAINERS create mode 100644 board/BuR/zynq/Makefile create mode 100644 board/BuR/zynq/brcp150/board.c create mode 100644 board/BuR/zynq/brcp150/ps7_init_gpl.c create mode 100644 board/BuR/zynq/brcp170/board.c create mode 100644 board/BuR/zynq/brcp170/ps7_init_gpl.c create mode 100644 board/BuR/zynq/brcp1_1r/board.c create mode 100644 board/BuR/zynq/brcp1_1r/ps7_init_gpl.c create mode 100644 board/BuR/zynq/brcp1_1r_switch/board.c create mode 100644 board/BuR/zynq/brcp1_1r_switch/ps7_init_gpl.c create mode 100644 board/BuR/zynq/brcp1_2r/board.c create mode 100644 board/BuR/zynq/brcp1_2r/ps7_init_gpl.c create mode 100644 board/BuR/zynq/brsmarc2/board.c create mode 100644 board/BuR/zynq/brsmarc2/ps7_init_gpl.c create mode 100644 board/BuR/zynq/common/board.c create mode 100644 board/BuR/zynq/env/brcp1.env create mode 100644 board/BuR/zynq/env/brcp150.env create mode 100644 configs/brcp150_defconfig create mode 100644 configs/brcp170_defconfig create mode 100644 configs/brcp1_1r_defconfig create mode 100644 configs/brcp1_1r_switch_defconfig create mode 100644 configs/brcp1_2r_defconfig create mode 100644 configs/brsmarc2_defconfig create mode 100644 include/configs/brzynq.h