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 D607AC04A68 for ; Wed, 27 Jul 2022 19:33:54 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 11C4D84144; Wed, 27 Jul 2022 21:33:30 +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="dpmLsXIc"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id CD2678407F; Wed, 27 Jul 2022 21:28:17 +0200 (CEST) Received: from USG02-CY1-obe.outbound.protection.office365.us (mail-cy1usg02on0097.outbound.protection.office365.us [23.103.209.97]) (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 A1C7F84131 for ; Wed, 27 Jul 2022 21:28:14 +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=QgjmY7hPRU+4mXbWKO0IE5WDi67HN7fUa5+0u6RlW7ek+QD3GeNgeWDiD6Tsng1qhAzPhkavkCsdxfdVItfjIAxmQUe+OIVYx/nzql/11T5OcaU4PmXO6pDiun7RMDJlhhgVVkd5/nAkqFNmfCATWs9+Pm/Ke9GONcKwm3k4SGIb2nPDxHkR3eDxKLmMIlC/oxiFDgng4c5VY7zXJiEj6ML7f511kwiWlCt4HgVyvWFu0iegvcUxbWUAvdspmMvSh7ur2pwWr6PCSmCaWLU724Ox+D0QF0tFK3twzEYY9GYfC9X7M/UJ0CSrclB6DmK5s9CWjAH0g8A5I6oe2I11vw== 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=PiFfk93jaZdVjfWB4HWPzh4Zd4H6dQzSHrim7fCaruU=; b=N91FYvQvM3jjoWelxSZ7g+7SOyV1yh/4BkaQVVq+V9D5kQ1SWdGiuIJkZ145Cn42dSUQ6jLWLIwtubNGnHAyKSJLom+vceRWQ5Pmpypf74Wl2D/6nfbCo2IywurdSeM65zzakm7kIVF00UjJZ2UJ8c5H/QRY1VNcZ5hOx0ftZT6+A4fqdO5tWCuPrF0txLfZx/P8t2PHrUm8LigN2pUSuCiY60HuICO+sEfiZBLrgyjeydNloA6KYDl11gCK1mhGvkhAbSJ+ZnR/g0wrLJVByp7qML047Jc5Npd1gb0o0y12zZHCLsGDpBC3TTeLm2wiMs6IFAv1tXANqFS5ys7jSQ== 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=PiFfk93jaZdVjfWB4HWPzh4Zd4H6dQzSHrim7fCaruU=; b=dpmLsXIchHlQF6cQj2uOABCQs4aX89QZ42QirSHk7IpNmlSCIH8HFAywkz9LqQwdZ55DDiriB4mPS/BGyqF6wvRr/Qk8PKrS2hvfzjfu99wE7MqWByzugkKFj66BY1eYzXxRnuFHp+4o1rKwclheATAgS38dUrp7b6IN+e+DtSKv18za0JyM92xcAIBmECAv7gsgrxgL2r24hxYhUtpAbRhuu0EoedAnn+Z9ScuY8RCsxaPew2qZwy0WguJMM6rACTestCkqrtngUgXUbSc4DlcdiqzdJ3rEc8FvIrywH3ZNI238A4G+199GgmrS/jeF38fdbPrYP8Ud/s3S/D1mIQ== 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:09 +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:09 +0000 From: Greg Leonberg To: u-boot@lists.denx.de Cc: Greg Leonberg Subject: [U-Boot] [PATCH 03/10] arm: arch-am33xx: Add pru_icss clkctrl Date: Wed, 27 Jul 2022 15:27:50 -0400 Message-Id: <1658950077-16394-4-git-send-email-greg.leonberg@sunhillo.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1658950077-16394-1-git-send-email-greg.leonberg@sunhillo.com> References: <1658950077-16394-1-git-send-email-greg.leonberg@sunhillo.com> 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: dab4eda5-a52e-4e80-30d0-08da7006236a 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: Vm/axggPEy56P93fxAHVP4N8RJKXmPFjTQF2QfufdOBqhgwqQlJrpyuVdkVhAV/PLbosuC0WHIl3QwG8HWPL4BlkwmyDaX3yhbZoE4ywwQwoe1p56yw5qpNMzT4DLVklEcJChc9U2YwtgJaMkx9FrlQyQekzl53ai7B/lHI+Rhj+kubJYXZIlDUcjgVTfjIFbrs0IRqTmPRhG1/YOwYasU65TSOyzYGyZbMlgNPElrHPfhNFjiaNzkLmAIpT+AUwM4mqzj13llJA+Ay5BCylbrhdPOU+L4+6NSfptsPtDuh1TAZWFRHKcCLGLHNkyydtBXmvvTrF4MYffAoqQ5DWhDFsCGSLh+TJjlxuMPIZcNaShEj/98q+jKSvzZfu1kkCL1tglNACFvcE5YzL6IvWoLWrLYtGk7YG47sijp1Ly9HMSr7J4U/9mfvURLf0bii9AYK6w8ZuvTOu3ZJu01pHpfGMKqnPyZuH2hNG4mNtZJhpdFOJg1a49ZSCaTVvp20M0jtszPRcbS0Bm78IsEMgwGf1WavAgWSgurbHJNJCPG31cdUGL5GB7PZByUu6F023Jl2NYakkHwneDurfONnExYliTg8zkrnxjQK70CRWahA9DKFaL2vhfk141zS91NuC8nquAuCX7UsnPd7MjYWZL0sU1gBxXFUd9geEiPpbzUVmGv32S1LSgrfBSzh3oWFqJM1Nd+I+vfStpQ0v8ZspXhcxFmZyLkJXe4p9k89/+yNg1SexE9oVH4oXptwUxd8bX+/B/xkZd8iNBML1gmbHSZw1Yjx69RBNZiVtD0ltGis= 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)(508600001)(4326008)(5660300002)(6486002)(66556008)(38100700002)(38350700002)(186003)(44832011)(6506007)(2616005)(107886003)(6916009)(83380400001)(66476007)(2906002)(26005)(6512007)(41300700001)(6666004)(17423001)(156123004)(414714003); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: PAvhTHpkNGipDpUp9oXvBiEAbn3GI5Rr11Ri5IjkT5jn12RNZuSxRp98hWqpx6QXXEE3AOpDFxQoNoEuoafrzNHiwSrFqvcKXf/73f0Z/Ue8BEHnMCTMkKL23hqbU9Zg7l4UZBQLClY8nxhlRd0wXBcwdoAj5OpfG1yYGuK5F1jm5pw+wfn5L9koE38wOM6G7WuHV+UMllETl+odVtdOTxlBWRVtOHpPJ30FFclrrINOJxXKhW+mml1TjLCrtUeI7brUmEp/F7+yzsnafKdxq/iSgFzPXtimKbVZPc3ZfBwgClOTm6iNW9mktM/EHmX3WM8jRVWFMdi0hBaUOhGTr+4cs0YqnA8/Yek28NmUQJ9RfL9RIbu++zRoZhAOHK5hHGzsIlneYSzwphT4AzzfsGYXx2O4fL0aOWLKbzXMptM= X-OriginatorOrg: sunhillo.com X-MS-Exchange-CrossTenant-Network-Message-Id: dab4eda5-a52e-4e80-30d0-08da7006236a 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:09.3560 (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 The pruicssclkctrl register needs to be added to the cm_perpll register structure in order to allow the pruss driver to enable the clock for it during the pruss probe function call on am33xx This patch depends on patch 0002 of this patch series. Signed-off-by: Greg Leonberg --- arch/arm/include/asm/arch-am33xx/cpu.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm/include/asm/arch-am33xx/cpu.h b/arch/arm/include/asm/arch-am33xx/cpu.h index b713418..0af680e 100644 --- a/arch/arm/include/asm/arch-am33xx/cpu.h +++ b/arch/arm/include/asm/arch-am33xx/cpu.h @@ -177,7 +177,8 @@ struct cm_perpll { unsigned int epwmss2clkctrl; /* offset 0xD8 */ unsigned int l3instrclkctrl; /* offset 0xDC */ unsigned int l3clkctrl; /* Offset 0xE0 */ - unsigned int resv8[2]; + unsigned int resv8[1]; + unsigned int pruicssclkctrl; /* offset 0xE8 */ unsigned int timer5clkctrl; /* offset 0xEC */ unsigned int timer6clkctrl; /* offset 0xF0 */ unsigned int mmc1clkctrl; /* offset 0xF4 */ @@ -185,7 +186,8 @@ struct cm_perpll { unsigned int resv9[8]; unsigned int l4hsclkstctrl; /* offset 0x11C */ unsigned int l4hsclkctrl; /* offset 0x120 */ - unsigned int resv10[8]; + unsigned int resv10[7]; + unsigned int pruicssclkstctrl; /* offset 0x140 */ unsigned int cpswclkstctrl; /* offset 0x144 */ unsigned int lcdcclkstctrl; /* offset 0x148 */ }; -- 1.8.3.1