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 74CD9C46467 for ; Tue, 10 Jan 2023 15:48:20 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1978C854AE; Tue, 10 Jan 2023 16:48:17 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=mistralsolutions.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=mistralsolutions.com header.i=@mistralsolutions.com header.b="Y++K7Eku"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5F59B854BF; Tue, 10 Jan 2023 16:48:15 +0100 (CET) Received: from egress-ip4b.ess.de.barracuda.com (egress-ip4b.ess.de.barracuda.com [18.185.115.208]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 9B4688542B for ; Tue, 10 Jan 2023 16:48:11 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=mistralsolutions.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sinthu.raja@mistralsolutions.com Received: from mail-pg1-f198.google.com (mail-pg1-f198.google.com [209.85.215.198]) by mx-outbound46-71.eu-central-1c.ess.aws.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 10 Jan 2023 15:48:08 +0000 Received: by mail-pg1-f198.google.com with SMTP id o6-20020a63f146000000b004b33f7f9a96so2789523pgk.5 for ; Tue, 10 Jan 2023 07:48:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mistralsolutions.com; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=8Wb9WmLujWMjVt7tHdcVgCMfB105Y5HywBR0P4otZgo=; b=Y++K7EkuZp8VMrLx0WmhqG9DTTcyqxFdlQ7+8m/yj+atl6P3E65keP5pSfuQ/F3dWV PW4MqhP+BujuMNe7hdXAnXoWOmy1F3PmbR3nO/KYDWsaa/8h5Fn7/RXmvABwH0i0wJtM LjgjkNyeNziJkR/LTcE1FfQgo04d0IesBxNRY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=8Wb9WmLujWMjVt7tHdcVgCMfB105Y5HywBR0P4otZgo=; b=YTWA71hFT35FK73ilMUodf4h4hLX9GJfAhj6PH2HLwBa0i5CUmyEhRVQvpf7CBXLMq MjfLRlNV+Lq8rFMJsAoF/aMhnAj2od9ZKjldkJGHzOIgwv7NpXLMvjUx3bO11lu2fjIp HiB1LYRLWW9m/LQapjEiE87Y6tfis28jesW7HSuFm+vb6zaPDn9yZ9eaeQ9ufwxg37KX CRUakIEkUfb9dA43L0rIH4qLaI+Wz76tf3HAsJMv1Ueqy41x3UtnbMPpEudiTrwSgUQN XEb1G6+TEjpjY5vJWk/SG5mbp86VEHHo9eKqR1gW5oW+Eb4/akyeGS8kvqzNPXNpOIJa vIoQ== X-Gm-Message-State: AFqh2kpXfJglQbGpaGIZUooWGd5EynvSoLOki2CSykHxC8it4DoDmP3H P/hKb7zwp2dXx1TKRexvEvi24rJvPigLrsxlsLyfI/H6wf0VUWnk9lDqTUj3VFg3Afz6hq9J8EB T80N3mCn6/FHG+pwsdm5OwiLxUDr3AhegXjXG7ynJqelUYBigxA== X-Received: by 2002:a17:90a:1588:b0:223:1a17:55c3 with SMTP id m8-20020a17090a158800b002231a1755c3mr72224111pja.41.1673365686234; Tue, 10 Jan 2023 07:48:06 -0800 (PST) X-Google-Smtp-Source: AMrXdXtKi2PhTRJJUfLDbifR0H+1N8VAcacIkaWSZ448sJK0JSrFwEsKWRRk/5BQEwLDTpnbC6EsKw== X-Received: by 2002:a17:90a:1588:b0:223:1a17:55c3 with SMTP id m8-20020a17090a158800b002231a1755c3mr72224080pja.41.1673365685766; Tue, 10 Jan 2023 07:48:05 -0800 (PST) Received: from localhost.localdomain ([49.207.204.53]) by smtp.gmail.com with ESMTPSA id z18-20020a63e112000000b004767bc37e03sm7047976pgh.39.2023.01.10.07.48.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Jan 2023 07:48:04 -0800 (PST) From: Sinthu Raja X-Google-Original-From: Sinthu Raja To: u-boot@lists.denx.de, Tom Rini , Marcel Ziswiler , Marek Vasut , Vignesh Raghavendra Cc: Sinthu Raja Subject: [RESEND PATCH V5 00/12] AM68: Add support for AM68 Starter Kit Date: Tue, 10 Jan 2023 21:17:46 +0530 Message-Id: <20230110154758.16256-1-sinthu.raja@ti.com> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BESS-ID: 1673365687-311847-5636-15306-1 X-BESS-VER: 2019.1_20221214.2106 X-BESS-Apparent-Source-IP: 209.85.215.198 X-BESS-Outbound-Spam-Score: 0.40 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.245375 [from cloudscan10-87.eu-central-1a.ess.aws.cudaops.com] Rule breakdown below pts rule name description ---- ---------------------- -------------------------------- 0.00 BSF_SC0_MISMATCH_TO META: Envelope rcpt doesn't match header 0.40 BSF_SC0_SA085b META: Custom Rule SA085b 0.00 BSF_BESS_OUTBOUND META: BESS Outbound X-BESS-Outbound-Spam-Status: SCORE=0.40 using account:ESS91090 scores of KILL_LEVEL=7.0 tests=BSF_SC0_MISMATCH_TO, BSF_SC0_SA085b, BSF_BESS_OUTBOUND X-BESS-BRTS-Status: 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.6 at phobos.denx.de X-Virus-Status: Clean From: Sinthu Raja Hi All, Respinning after rebasing. This series of patch add initial support for AM68 starter kit. Design files can be referrred from https://www.ti.com/lit/zip/SPRR463 Refer below link to J721S2/AM68 Technical Reference Manual for further details: http://www.ti.com/lit/pdf/spruj28 Link to kerenl patches: https://lore.kernel.org/linux-arm-kernel/20221115154832.19759-4-sinthu.raja@ti.com/T/#mff5847ea8cdef49337d224b7147f877bcc833aee Changes in V5: ============= Address review comments: - Add comment as per the review comment. Changes in V4: ============= Address review comments: - In align wih the macro conditional statement which missed it in the previous version Changes in V3: ============= Address review comments: - Rework on DTB selection API clarity about mini-U-Boot vs EVM and family support as suggested. * board: ti: j721s2: Add board_init and support for selecting DT based on EEPROM Changes in V2: ============= Address review comments: - Remove support for detecting multiple device trees using different DTB - Remove board specific API from K3 generic file (arch/arm/mach-k3/j721s2_init.c) and moved to board specific file (board/ti/j721s2/evm.c). * arch: mach-k3: Update board specific API name to K3 generic API name * board: ti: j721s2: Add board_init and support for selecting DT based on EEPROM - Move board_is_xxx within CONFIG_TI_I2C_BOARD_DETECT block to maintain the "mini" U-Boot concept for this SoC. V1: https://patchwork.ozlabs.org/project/uboot/cover/20221027104846.11820-1-sinthu.raja@ti.com/ V2: https://patchwork.ozlabs.org/project/uboot/cover/20221221135219.24702-1-sinthu.raja@ti.com/ V3: https://patchwork.ozlabs.org/project/uboot/cover/20221227121543.22306-1-sinthu.raja@ti.com/ V4: https://patchwork.ozlabs.org/project/uboot/cover/20230104094350.19394-1-sinthu.raja@ti.com/ Sinthu Raja (12): configs: j721s2_evm_r5: Enable support for building multiple dtbs into FIT configs: j721s2_evm_a72: Enable support for building multiple dtbs into FIT configs: j721s2_evm: Enable configs to store env in MMC FAT partition board: ti: j721s2: Add support to update board_name for am68-sk board: ti: j721s2: Enable support for reading EEPROM at next alternate address board: ti: j721s2: Add support for detecting multiple device trees arch: mach-k3: Update board specific API name to K3 generic API name board: ti: j721s2: Add board_init and support for selecting DT based on EEPROM arm: dts: Add initial support for AM68 Starter Kit System on Module arm: dts: Add support for A72 specific AM68 Starter Kit Base Board arm: dts: k3-am68-sk: Add r5 specific dt support include: configs: Update env for selecting right dtb arch/arm/dts/Makefile | 4 +- .../arm/dts/k3-am68-sk-base-board-u-boot.dtsi | 150 ++++++++ arch/arm/dts/k3-am68-sk-base-board.dts | 353 ++++++++++++++++++ arch/arm/dts/k3-am68-sk-r5-base-board.dts | 194 ++++++++++ arch/arm/dts/k3-am68-sk-som.dtsi | 127 +++++++ arch/arm/mach-k3/include/mach/sys_proto.h | 3 + arch/arm/mach-k3/j721s2_init.c | 13 +- board/ti/j721s2/evm.c | 123 +++++- configs/j721s2_evm_a72_defconfig | 4 +- configs/j721s2_evm_r5_defconfig | 4 + include/configs/j721s2_evm.h | 4 + 11 files changed, 961 insertions(+), 18 deletions(-) create mode 100644 arch/arm/dts/k3-am68-sk-base-board-u-boot.dtsi create mode 100644 arch/arm/dts/k3-am68-sk-base-board.dts create mode 100644 arch/arm/dts/k3-am68-sk-r5-base-board.dts create mode 100644 arch/arm/dts/k3-am68-sk-som.dtsi -- 2.36.1