From patchwork Thu Jun 10 06:46:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lokesh Vutla X-Patchwork-Id: 1490196 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: 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=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=ti.com header.i=@ti.com header.a=rsa-sha256 header.s=ti-com-17Q1 header.b=QgdLosLz; dkim-atps=neutral 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 RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4G0vfX66fqz9sPf for ; Thu, 10 Jun 2021 16:47:13 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0274A82D15; Thu, 10 Jun 2021 08:47:04 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.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=ti.com header.i=@ti.com header.b="QgdLosLz"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id F08C782D22; Thu, 10 Jun 2021 08:47:01 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) (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 79C6E82B71 for ; Thu, 10 Jun 2021 08:46:57 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=lokeshvutla@ti.com Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 15A6ktbT040975; Thu, 10 Jun 2021 01:46:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1623307615; bh=DPMHWGeWUpT1k4aUg9Ufk3WnF/ba/9dHmJnRtLSyisc=; h=From:To:CC:Subject:Date; b=QgdLosLzn2Or5nysPLKkf2Jns8OM0gl6gdiaD79gL/KFHNGa4hK8CNvp00yVV3XcU 6RYMTeLD9cX4xI/D7C5Pv0UYJxjMPscJVS/P8bbY7fpSv0PO1qTByJHYCWZ0OvAf7b +EQVZGZideJmFp7nsg8UsA7R1WJ9aFTXghAoGuqA= Received: from DFLE105.ent.ti.com (dfle105.ent.ti.com [10.64.6.26]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 15A6ktc4104089 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 10 Jun 2021 01:46:55 -0500 Received: from DFLE115.ent.ti.com (10.64.6.36) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Thu, 10 Jun 2021 01:46:54 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2 via Frontend Transport; Thu, 10 Jun 2021 01:46:54 -0500 Received: from uda0131933.dhcp.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 15A6kqKA027549; Thu, 10 Jun 2021 01:46:53 -0500 From: Lokesh Vutla To: Tom Rini CC: , Lokesh Vutla Subject: [GIT PULL] TI changes for v2021.10 next Date: Thu, 10 Jun 2021 12:16:50 +0530 Message-ID: <20210610064650.22605-1-lokeshvutla@ti.com> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.102.4 at phobos.denx.de X-Virus-Status: Clean Hi Tom, Please find the PR for master branch targeted for v2021.10-next branch. Details about the PR are updated in the tag message. Gitlab CI report: https://source.denx.de/u-boot/custodians/u-boot-ti/-/pipelines/7780 The following changes since commit e8f720ee1707b43a0e14ade87b40a1f84baeb2f3: Merge branch '2021-06-08-kconfig-migrations' into next (2021-06-09 08:19:13 -0400) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-ti.git tags/ti-v2021.10-next for you to fetch changes up to 47a10af8f8a90b3d9e83fafb51372800171344a9: dma: ti: k3-udma: Add support for native configuration of chan/flow (2021-06-09 22:23:45 +0530) ---------------------------------------------------------------- - HSM re-architecture support for all K3 platforms - AM64 USB support - Driver model support for Davinci RTC ---------------------------------------------------------------- Aswath Govindraju (10): tools: k3_fit_atf: Add support for providing ATF load address using a Kconfig symbol arm: mach-k3: am642_init: Add support for USB boot mode arm: mach-k3: am642_init: Do USB fixups to facilitate host and device boot modes board: ti: am64x: Set the core voltage of USB PHY to 0.85V arm: dts: k3-am64-main: Add USB DT nodes arm: dts: k3-am642-*-evm: Add USB support arm: dts: k3-am642-evm-u-boot: Add U-Boot tags and fix the dr_mode to peripheral for USB subsystem configs: am64x_evm_*_defconfig: Rearrange the components in SRAM to satisfy the limitations for USB DFU boot mode arm: dts: k3-am64-main: Update the location of ATF in SRAM and increase its max size configs: am64: Enable configs to support USB host and device modes Dario Binacchi (8): rtc: davinci: enable compilation for omap architectures rtc: davinci: fix compiler errors rtc: davinci: replace 32bit access with 8bit access rtc: davinci: check BUSY bit before set TC registers rtc: davinci: use unlock/lock mechanism arm: dts: sync rtc node of am335x boards with Linux 5.9-rc7 rtc: davinci: add driver model support rtc: davinci: fix date loaded on reset Dave Gerlach (4): arm: mach-k3: Add platform data for j721e and j7200 arm: mach-k3: common: Drop main r5 start arm: mach-k3: j721e_init: Force early probe of clk-k3 driver configs: j7200_evm_r5: Enable raw access power management features Kevin Scholz (1): arm: dts: k3-j7200: ddr: Update to 0.5.0 version of DDR for LPDDR 2666MTs Lokesh Vutla (1): common: fit: Update board_fit_image_post_process() to pass fit and node_offset Pali Rohár (1): Nokia RX-51: Enable CONFIG_WDT to remove deprecation warning Tero Kristo (21): lib: rational: copy the rational fraction lib routines from Linux arm: mach-k3: introduce new config option for sysfw split remoteproc: k3-r5: remove sysfw PM calls if not supported clk: fixed_rate: add API for directly registering fixed rate clocks clk: fix clock tree dump to properly dump out every registered clock clk: do not attempt to fetch clock pointer with null device clk: add support for setting clk rate from cmdline clk: sci-clk: fix return value of set_rate clk: fix assigned-clocks to pass with deferring provider clk: fix set_rate to clean up cached rates for the hierarchy clk: add support for TI K3 SoC PLL clk: add support for TI K3 SoC clocks power: domain: Introduce driver for raw TI K3 PDs cmd: ti: pd: Add debug command for K3 power domains tools: k3_fit_atf: add DM binary to the FIT image arm: mach-k3: add support for detecting firmware images from FIT arm: mach-k3: do board config for PM only if supported arm: mach-k3: sysfw-loader: pass boardcfg to sciserver configs: j721e_evm_r5: Enable raw access power management features board: ti: j72xx: README: update build instructions and image formats arm: dts: k3-j72xx: correct MCU timer1 frequency Vignesh Raghavendra (7): mailbox: k3-sec-proxy: Add DM to DMSC communication thread firmware: ti_sci: Implement GET_RANGE with static data firmware: ti_sci: Add support for Resoure Management at R5 SPL stage. ARM: dts: j72xx-r5-common-proc-board: Add DM firmware node ARM: dts: k3: Add cfg register space for ringacc and udmap soc: ti: k3-navss-ringacc: Add support for native configuration of rings dma: ti: k3-udma: Add support for native configuration of chan/flow arch/arm/dts/am335x-bone-common.dtsi | 5 + arch/arm/dts/am335x-evm.dts | 5 + arch/arm/dts/am335x-evmsk.dts | 5 + arch/arm/dts/am335x-osd335x-common.dtsi | 6 + arch/arm/dts/k3-am64-main.dtsi | 32 +- arch/arm/dts/k3-am642-evm-u-boot.dtsi | 13 + arch/arm/dts/k3-am642-evm.dts | 18 + arch/arm/dts/k3-am642-r5-evm.dts | 18 + arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 14 + .../k3-j7200-common-proc-board-u-boot.dtsi | 30 +- ...00.dtsi => k3-j7200-ddr-evm-lp4-2666.dtsi} | 437 +++++----- .../arm/dts/k3-j7200-r5-common-proc-board.dts | 19 +- .../k3-j721e-common-proc-board-u-boot.dtsi | 16 +- .../arm/dts/k3-j721e-r5-common-proc-board.dts | 18 + arch/arm/mach-k3/Kconfig | 18 + arch/arm/mach-k3/Makefile | 2 +- arch/arm/mach-k3/am642_init.c | 46 +- arch/arm/mach-k3/common.c | 85 +- arch/arm/mach-k3/common.h | 1 + arch/arm/mach-k3/config.mk | 5 + arch/arm/mach-k3/include/mach/am64_hardware.h | 11 +- arch/arm/mach-k3/include/mach/am64_spl.h | 6 +- arch/arm/mach-k3/j7200/Makefile | 5 + arch/arm/mach-k3/j7200/clk-data.c | 547 ++++++++++++ arch/arm/mach-k3/j7200/dev-data.c | 77 ++ arch/arm/mach-k3/j721e/Makefile | 5 + arch/arm/mach-k3/j721e/clk-data.c | 781 ++++++++++++++++++ arch/arm/mach-k3/j721e/dev-data.c | 75 ++ arch/arm/mach-k3/j721e_init.c | 12 + arch/arm/mach-k3/security.c | 2 +- arch/arm/mach-k3/sysfw-loader.c | 105 +++ arch/arm/mach-keystone/mon.c | 3 +- arch/arm/mach-socfpga/board.c | 3 +- board/nokia/rx51/rx51.c | 37 +- board/ti/am335x/board.c | 3 +- board/ti/am43xx/board.c | 3 +- board/ti/am57xx/board.c | 3 +- board/ti/am64x/evm.c | 14 + board/ti/dra7xx/evm.c | 3 +- board/ti/j721e/README | 9 +- cmd/clk.c | 80 +- cmd/ti/Kconfig | 8 + cmd/ti/Makefile | 1 + cmd/ti/pd.c | 185 +++++ common/image-fit.c | 2 +- common/spl/spl_fit.c | 2 +- configs/am64x_evm_a53_defconfig | 40 + configs/am64x_evm_r5_defconfig | 38 +- configs/j7200_evm_r5_defconfig | 14 +- configs/j721e_evm_r5_defconfig | 12 +- configs/nokia_rx51_defconfig | 2 + .../firmware/ti,j721e-dm-sci.txt | 32 + drivers/clk/clk-uclass.c | 39 + drivers/clk/clk_fixed_rate.c | 45 + drivers/clk/ti/Kconfig | 24 + drivers/clk/ti/Makefile | 2 + drivers/clk/ti/clk-k3-pll.c | 283 +++++++ drivers/clk/ti/clk-k3.c | 374 +++++++++ drivers/clk/ti/clk-sci.c | 6 +- drivers/dma/ti/k3-udma-u-boot.c | 177 ++++ drivers/dma/ti/k3-udma.c | 42 +- drivers/firmware/ti_sci.c | 107 +++ drivers/firmware/ti_sci_static_data.h | 92 +++ drivers/mailbox/k3-sec-proxy.c | 2 +- drivers/power/domain/Kconfig | 7 + drivers/power/domain/Makefile | 1 + drivers/power/domain/ti-power-domain.c | 368 +++++++++ drivers/remoteproc/ti_k3_r5f_rproc.c | 9 + drivers/rtc/Kconfig | 7 + drivers/rtc/davinci.c | 460 +++++++++-- drivers/soc/ti/k3-navss-ringacc-u-boot.c | 61 ++ drivers/soc/ti/k3-navss-ringacc.c | 36 +- include/configs/am64x_evm.h | 15 +- include/configs/nokia_rx51.h | 3 - include/image.h | 5 +- include/k3-clk.h | 177 ++++ include/k3-dev.h | 85 ++ include/linux/clk-provider.h | 3 + include/linux/rational.h | 20 + lib/Kconfig | 7 + lib/Makefile | 2 + lib/rational.c | 99 +++ tools/k3_fit_atf.sh | 28 +- 83 files changed, 5158 insertions(+), 341 deletions(-) rename arch/arm/dts/{k3-j7200-ddr-evm-lp4-1600.dtsi => k3-j7200-ddr-evm-lp4-2666.dtsi} (90%) create mode 100644 arch/arm/mach-k3/j7200/Makefile create mode 100644 arch/arm/mach-k3/j7200/clk-data.c create mode 100644 arch/arm/mach-k3/j7200/dev-data.c create mode 100644 arch/arm/mach-k3/j721e/Makefile create mode 100644 arch/arm/mach-k3/j721e/clk-data.c create mode 100644 arch/arm/mach-k3/j721e/dev-data.c create mode 100644 cmd/ti/pd.c create mode 100644 doc/device-tree-bindings/firmware/ti,j721e-dm-sci.txt create mode 100644 drivers/clk/ti/clk-k3-pll.c create mode 100644 drivers/clk/ti/clk-k3.c create mode 100644 drivers/dma/ti/k3-udma-u-boot.c create mode 100644 drivers/firmware/ti_sci_static_data.h create mode 100644 drivers/power/domain/ti-power-domain.c create mode 100644 drivers/soc/ti/k3-navss-ringacc-u-boot.c create mode 100644 include/k3-clk.h create mode 100644 include/k3-dev.h create mode 100644 include/linux/rational.h create mode 100644 lib/rational.c