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 E350AC04A68 for ; Wed, 27 Jul 2022 19:33:41 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1EBBA8410B; Wed, 27 Jul 2022 21:33:28 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=sunhillo.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=sunhillo.com header.i=@sunhillo.com header.b="W022RlV7"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4B7DF83F2D; Wed, 27 Jul 2022 21:28:15 +0200 (CEST) Received: from USG02-CY1-obe.outbound.protection.office365.us (mail-cy1usg02on0096.outbound.protection.office365.us [23.103.209.96]) (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 46F4D8409F for ; Wed, 27 Jul 2022 21:28:12 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=sunhillo.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=Greg.Leonberg@sunhillo.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector5401; d=microsoft.com; cv=none; b=JJPRHxNWNorp3Rr/EzEGTIrYmPma2yFlHm2bjXQ8kH+Ho5pEduMlJ58gP8kTb+fYYuCqIscBHany7/cHgRS+k86C4wLhPLLA7rBBZLX4URmC9gChZ3PDnX1kBSSAnReL0xbXPw2aMplDBXCbJWA2r1tN+7kTIusQSt4lSrWnax+dggae/YflPEeS+fhMjnZf2hbUYM22rIsZwtHCsw42VhgdVawZkTJ6GLx2Zz12z3eRaQmu33UEi5sNhmtvgzQ1c3mbu9uTcAhs1JyR3c1YY6gEMKv6FPkoB8AoLFRysUP3XMrPBPqqqJY59+tL+taushnacXLwxIhrNeo5wexK7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector5401; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=bf0TOwrT44T7qpgJ+CjWaIz9tRvUvzmkTNawd7b8OKU=; b=L4xby39lRbUqnLwkHcLEIGw1Dp7Fn4VT+CmsQ/mQteRxiOqmyc+BevwP9g551TLdL1US+Endn5iLm2Pqnc/gW1lcmYtx49qEIaVHyxXntmaggTYGUGsnYyKlBmyKjjEUC/yurIYcnoB2/cTIJj1rJOPrX9g4v+/IR9+/+B7XeZoI7DbEXk9u/XB4zKHNqk/f912oabiwQZrgttvoTJvzjO422RLX3GA/ehhaN9KLbjMINTVSEQrTZ08nQSGrjptq4l4EY1uzGEj8fIdFxA2seRR0gT4uC4jqMdEdekt7l9Vs4EMc90DYPGhyI6mbJAQcM3vdwOY3hMjjXLUqWF01Ow== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=sunhillo.com; dmarc=pass action=none header.from=sunhillo.com; dkim=pass header.d=sunhillo.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sunhillo.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=bf0TOwrT44T7qpgJ+CjWaIz9tRvUvzmkTNawd7b8OKU=; b=W022RlV7VrYkIQGrYRN8SphmGgNxGRDYGm97A1zmHs3Jc8GDpAz6NZU6hjbTgUf60w6AMi0GoRKB+TkCq3SI/hWvV1Vrhhxb/9hCsFTrRwc3bgZ+HHxjf/Hd69/bP0RZjJRpK5UPRLamtWP75Cwcf4CQ04t8Q1hjyExWIbHTztqkw1FG49ktzAO5EQlgyQRRrt00ruyX9rKWzt6PXW7ObadpNEgkSEW3/FNg/JtJJzeFQt2McO0gJoPCa6B4QlA2ytWJ+MrWb7Ef0hpJeVW09OMdRSP7auUjUaF9G6QLaV042LCauivQycJTlyJGQGBY6OL0ccxhrnZI7Vt06IEDUg== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=sunhillo.com; Received: from BN2P110MB1686.NAMP110.PROD.OUTLOOK.COM (2001:489a:200:178::13) by BN2P110MB1495.NAMP110.PROD.OUTLOOK.COM (2001:489a:200:17d::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5458.21; Wed, 27 Jul 2022 19:28:07 +0000 Received: from BN2P110MB1686.NAMP110.PROD.OUTLOOK.COM ([fe80::f451:93b8:65e5:8c57]) by BN2P110MB1686.NAMP110.PROD.OUTLOOK.COM ([fe80::f451:93b8:65e5:8c57%5]) with mapi id 15.20.5458.024; Wed, 27 Jul 2022 19:28:07 +0000 From: Greg Leonberg To: u-boot@lists.denx.de Cc: Greg Leonberg Subject: [U-Boot] [PATCH 00/10] Add pruss and pru support for am33xx and am57xx Date: Wed, 27 Jul 2022 15:27:47 -0400 Message-Id: <1658950077-16394-1-git-send-email-greg.leonberg@sunhillo.com> X-Mailer: git-send-email 1.8.3.1 Content-Type: text/plain X-ClientProxiedBy: DM3P110CA0034.NAMP110.PROD.OUTLOOK.COM (2001:489a:200:410::32) To BN2P110MB1686.NAMP110.PROD.OUTLOOK.COM (2001:489a:200:178::13) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 59f90b0e-cce1-4454-9a65-08da70062242 X-MS-TrafficTypeDiagnostic: BN2P110MB1495:EE_ X-MS-Exchange-AtpMessageProperties: SA|SL X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: /Oq+HYiA7/VZ1nUAC6QSKY2ejdz2MQVyqUWx1YE5boRKICe9BehVQIYMj6hoTEDIpb5nOe/00l17SRSrwsiR4f9wBeojMjn/18GLexEYZEBusTSwjcxcdSX6V1uXIgSHFkNgp7b5rp+9gH3zPmV8jv+JsTrSxcMA9VsNiZpt4ba4zzcjogBBVoSnfQGYIMnYVSeBSfUEBjKVY+ED5f3NwIexK62kDt2+1NHjXdEt4j15bQfsTW79ksCWAZPYI4xL/sbeUIE/6Qwi7iCSIpIgrPSdqNvjon/lrIWQmVhwnfxuGwWieqOkoYLsebBoiMh5xlBfsKCl6F1HkGmTvSxVZfymClFUTt0UiUPhwSmzQaFNNCeSiAROuIXhuSC+SMIxhCC+/v+mkzNWDHhRTtiOH/DO/GCuZmorVmAvS0MoIgCj6LqJ44HWBHqdKmFxSrHAoGSZywZae2XEJGODlllatBUZQmuKHFwphLIrYsnc9cJ1fgvItryY9sZPG4wY/hI1kB9u+tx4HbBE3Su38TbEEP+Yhi3s3qOp1Vl+UpQnu0u+vzhuDSxic5P71D+pdBBhBxz+pJZ+Nw6KzaEs3yT7bTiJ5bzr/86QLDHAdEkuyEl+vXM5F+7FJoZVX3togxDtdRzJNjqd8ekLsGesiZubiE0uqSfv7jy634UhLmQuiLkmnjvMltm/3+n0n4g3ttmOo24XCUm3oXSGwqs4Nm3pFMPjuvWxcaefp9D4MDWd9GGDOHchHd8o9PHALX5MBfAr X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN2P110MB1686.NAMP110.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230016)(4636009)(366004)(396003)(136003)(39830400003)(41320700001)(66946007)(52116002)(36756003)(86362001)(8936002)(8676002)(966005)(508600001)(4326008)(5660300002)(6486002)(66556008)(38100700002)(38350700002)(186003)(44832011)(6506007)(2616005)(107886003)(6916009)(83380400001)(66476007)(2906002)(26005)(6512007)(41300700001)(6666004); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: nazMVvOjdwuka08jwoZLmhPtnD3s1kbxZ/Q5IJWOY9P9cdy/tijGssb69QG9Ld0sLwwOU95ygIzrukRohhi4mOpA99xQSmp6cm4mWI0qGHPTzWduy7jiQBDVNcQVaea2qfXtne+J/MK3KuUbrEz5UC8FMHeidgNXw7t0ccRQC3AncQrJ3zQQXiC+ysEjhCf+U9R0+AVaKs89Dfq9ZgmkbEEsL3ECdpWe6jAxI/oYFSfCoR2NbyeDmzQ3FxqzInCO80GUP3FhzS1YIIzRfB1q28sMDNyHhS75bQuTOygzWaRS3QLKOwrPRCdnB6tKtuqDEyjsFToDlr4P+BOzQqjWKuf4GbJKPiLsQNbuyJuLwn3GA09qexsBRgrwZZ3BWTLQws77m2zVt9558q2m+l1h6of/0z6djSzfAh2z1h44ttE= X-OriginatorOrg: sunhillo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 59f90b0e-cce1-4454-9a65-08da70062242 X-MS-Exchange-CrossTenant-AuthSource: BN2P110MB1686.NAMP110.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jul 2022 19:28:07.4345 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 260ee0bd-322f-42ab-a955-db32388baf7c X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN2P110MB1495 X-Mailman-Approved-At: Wed, 27 Jul 2022 21:33:25 +0200 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 support for the pruss/pru_rproc drivers on am33xx and am57xx SoCs. All PRU interfaces pru0 and pru1 are supported on am33xx. All PRU interfaces pru0, pru1, pru2, and pru3 are supported on am57xx. Testing is done via the "rproc" U-Boot command. This patch series is based on ti-u-boot-2020.01 branch on ti-u-boot repository located at: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/ and commit 2781231a33c3 ("arm: mach-k3: j721e_init: probe clock node after sci node is probed") From looking at the master branch of the main u-boot repository, there does not appear to be significant effort required to merge it into the master branch. Greg Leonberg (10): arm: Add omap5 pruss1 and pruss2 to prcm structure arm: arch-am33xx: Add prm_per definition arm: arch-am33xx: Add pru_icss clkctrl soc: ti: pruss: Add support for am33xx soc: ti: pruss: Add support for am57xx remoteproc: pru_rproc: Add support for am33xx remoteproc: pru_rproc: Add support for am57xx remoteproc: pru_rproc: Add is_running support arm: dts: am33xx: Add pruss and pru arm: dts: dra7: Add pruss and pru arch/arm/dts/am33xx.dtsi | 105 +++++++++++ arch/arm/dts/dra7.dtsi | 198 ++++++++++++++++++++ arch/arm/include/asm/arch-am33xx/cpu.h | 13 +- arch/arm/include/asm/arch-am33xx/hardware_am33xx.h | 1 + arch/arm/include/asm/omap_common.h | 2 + arch/arm/mach-omap2/omap5/prcm-regs.c | 2 + drivers/remoteproc/Kconfig | 6 +- drivers/remoteproc/Makefile | 6 + drivers/remoteproc/pru_rproc.c | 200 +++++++++++++++------ drivers/soc/ti/Kconfig | 10 +- drivers/soc/ti/Makefile | 6 + drivers/soc/ti/pruss.c | 102 ++++++++++- 12 files changed, 582 insertions(+), 69 deletions(-) -- 1.8.3.1