Message ID | 1657877964-16742-5-git-send-email-ashok.reddy.soma@xilinx.com |
---|---|
State | Superseded |
Delegated to: | Michal Simek |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=xilinx.onmicrosoft.com header.i=@xilinx.onmicrosoft.com header.a=rsa-sha256 header.s=selector2-xilinx-onmicrosoft-com header.b=izPjygyy; dkim-atps=neutral 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=<UNKNOWN>) 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 (2048 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4LkmZ06Wh4z9s09 for <incoming@patchwork.ozlabs.org>; Fri, 15 Jul 2022 19:40:40 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9436882A35; Fri, 15 Jul 2022 11:40:37 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=xilinx.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=xilinx.onmicrosoft.com header.i=@xilinx.onmicrosoft.com header.b="izPjygyy"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0F03E81DE8; Fri, 15 Jul 2022 11:40:36 +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=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2053.outbound.protection.outlook.com [40.107.237.53]) (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 BE85C83631 for <u-boot@lists.denx.de>; Fri, 15 Jul 2022 11:40:32 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=ashokred@xilinx.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gnXCNOzTQMZA3/tn/WFbvSpsVua47TYeOKKQKxVnTfHZVDdvVZkkHypCdj9zOOXinwHh5yF4oOux/OVuavXlZ2o0XvwyMOqRn0wE6yO3GeskZumLq01DYZvQyMQ2PwOyIBDQiEJ8Y1QJIJU8Hvw2MSYoh5l2/j4M6gY5SCZHOkQZ18veqyDiGhbJ+0XegDIEsIHtLAItjUcpNObtlw/IOHwHRik8CPw9MDdnnS6pl6eF0p3lSqQa41SE/aba2hk/vsmb7btowGHfgf9x2xjZOSAUSpxLJJic+rlBISP37e7tyFnwkOqyQrnt2eRZgIWfgqtc7ZvqzIOxrtaPVyBkUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=17SxtfNCeG7axKrHdtDRjiOUY2McCuZcKjaKuRe+I+Y=; b=C4T/PErlx1j06iet/Ghab3Yxmfch7Sz9SsUBtaKG/CCvqCt8tioTF+niJC0r3YN5GRIvzBczz5/NpcROO5APD7eMkGqrPlYn2e1aXZ8CTxm7QXfR0yZ9gr7ChvOv+mAtfj5T1PraicDd+A8JKG2tLb9FvHda2wO+B/6q/S+5+QSyve5jctLSvmNyi2Oeht12aUPX38ZwAW+Y+FVB7ZyaED533xt0VNbnACisI5HjsLYiKYM6D28j163AIYW95BC7JsqWkKrIAfkIyUPJJAka4Z7Gbgc49zayNoKstL+BwaLqmnQz4nZyX7BfdJSt4hklJHCkV6v8HnaX2OascRgM9Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 149.199.62.198) smtp.rcpttodomain=amd.com smtp.mailfrom=xilinx.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=xilinx.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector2-xilinx-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=17SxtfNCeG7axKrHdtDRjiOUY2McCuZcKjaKuRe+I+Y=; b=izPjygyy2sS7nqbQIaHY/kI8F4H7W9F3sOp9Qq5T32sKuBsR1p8q6FZk7kttXdZTNIqmDSGn/Kj4b/Y/Msu+BBbABa5p71nfS0NrRYyBsfAzo6aM/GMOZkMlXdLC7lpCVvMHqom/K7PAH4XvAxdcCzGibDNVQZBvas4P9JGQ5oo= Received: from DM6PR14CA0038.namprd14.prod.outlook.com (2603:10b6:5:18f::15) by BN6PR02MB2211.namprd02.prod.outlook.com (2603:10b6:404:31::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5438.14; Fri, 15 Jul 2022 09:40:29 +0000 Received: from DM3NAM02FT049.eop-nam02.prod.protection.outlook.com (2603:10b6:5:18f:cafe::66) by DM6PR14CA0038.outlook.office365.com (2603:10b6:5:18f::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.23 via Frontend Transport; Fri, 15 Jul 2022 09:40:29 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 149.199.62.198) smtp.mailfrom=xilinx.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.62.198 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.62.198; helo=xsj-pvapexch02.xlnx.xilinx.com; pr=C Received: from xsj-pvapexch02.xlnx.xilinx.com (149.199.62.198) by DM3NAM02FT049.mail.protection.outlook.com (10.13.5.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5438.12 via Frontend Transport; Fri, 15 Jul 2022 09:40:29 +0000 Received: from xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) by xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.14; Fri, 15 Jul 2022 02:40:20 -0700 Received: from smtp.xilinx.com (172.19.127.95) by xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) with Microsoft SMTP Server id 15.1.2176.14 via Frontend Transport; Fri, 15 Jul 2022 02:40:20 -0700 Envelope-to: git@xilinx.com, git@amd.com, sjg@chromium.org, adrian.fiergolski@fastree3d.com, u-boot@lists.denx.de, kettenis@openbsd.org, jh80.chung@samsung.com, sven@svenpeter.dev Received: from [172.23.64.5] (port=34107 helo=xhdvnc105.xilinx.com) by smtp.xilinx.com with esmtp (Exim 4.90) (envelope-from <ashok.reddy.soma@xilinx.com>) id 1oCHo3-000DaM-V6; Fri, 15 Jul 2022 02:40:20 -0700 Received: by xhdvnc105.xilinx.com (Postfix, from userid 2896) id DF4A761045; Fri, 15 Jul 2022 15:09:26 +0530 (IST) From: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com> To: <u-boot@lists.denx.de> CC: <adrian.fiergolski@fastree3d.com>, <jh80.chung@samsung.com>, <sven@svenpeter.dev>, <kettenis@openbsd.org>, <sjg@chromium.org>, <git@xilinx.com>, <git@amd.com>, Ashok Reddy Soma <ashok.reddy.soma@xilinx.com> Subject: [PATCH 4/5] mailbox: zynqmp: Move struct zynqmp_ipi_msg from sys_proto.h Date: Fri, 15 Jul 2022 15:09:23 +0530 Message-ID: <1657877964-16742-5-git-send-email-ashok.reddy.soma@xilinx.com> X-Mailer: git-send-email 2.1.1 In-Reply-To: <1657877964-16742-1-git-send-email-ashok.reddy.soma@xilinx.com> References: <1657877964-16742-1-git-send-email-ashok.reddy.soma@xilinx.com> MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 44e479f0-4864-44ea-1a32-08da66460e08 X-MS-TrafficTypeDiagnostic: BN6PR02MB2211:EE_ X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: aCrq8MCnFBCUrOBTHCNgEQbi0FIhFXzSMjHOu6QgCQujdNUKeuPXRUpR/xx2bdAHbJ14gBdWfpsoWmWO4wMIa2Z5rOJcVqoM2ss4OiIjD01QvAkGo4jPyQAeTkWK+Wxrasofi6TfawFptcjuJcRl2/r7cMW+xi7lXfWVDNFg3t/Pel7nG8ix6qrWT/Eowue3zIg+31OYFEIKCIg6UoYMcxtippnGxZVTSkTCe7ix16G+bmPZiuBBhxp3msCA2WeAl5lEuEyz7D0yjsbhZ3dzhbtxpz5jZVdkjK60s6U/xmt1Q/vUWDGHOtBXuVSDD3deV8EpgonXQ6Ua3M7Ik+3hXZEWh1rBdd2pfMIZOTEuLsxWMoL0V7HyQAauIJXFUuIM9SYfXnE6ZkRRd3Yl1Yd/COutaNO9ijdlsXO7W7S+LLLgDQaNyKPXaV/xVfIK3E+GXNtZZu7rLjUOwMp4g3AByJEaSxAU+d1tTNTqRGfsTaFABX0PX2tUK79FsayMo+HLEVjLqw5gz0xtkv1RmNcEzrM5u6LMlSD3wIcR1S9OZKiN9yUH2sk9mdDEwJOPcdpSfQdhL/9zFZ/qYBLvikuBPQuT5e59Mcy9zZw3nPNRLtTLhAuAwBdbBThHxbc0VckOhX5HXG0NSZhvb4QRYBCmQGRzgZmUgM+52NYOZEPJJlFyKBvB9uVs2fNLnD4d5TnBcVaSpHumEA5LrdaMeeNY7ee1P1aT8HF1rgmDVfNvcA8tUBvGgiH8qCDGzLGBbGXfK+BIalmd2KkspE4Qy1X8CDe+Xpv/vSvZxzWVRt4j77IvYvC/kp0XuOjm0QnlgQ+YnbWaPntkXkt+PAQuKd9KKVfRTO8rqKZ89zOmhrtmfSk= X-Forefront-Antispam-Report: CIP:149.199.62.198; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:xsj-pvapexch02.xlnx.xilinx.com; PTR:unknown-62-198.xilinx.com; CAT:NONE; SFS:(13230016)(4636009)(39860400002)(136003)(376002)(346002)(396003)(46966006)(36840700001)(40470700004)(186003)(316002)(4326008)(8676002)(356005)(2616005)(54906003)(42186006)(70586007)(478600001)(15650500001)(6916009)(26005)(6666004)(107886003)(82310400005)(41300700001)(40480700001)(40460700003)(36756003)(7636003)(70206006)(426003)(8936002)(47076005)(2906002)(83380400001)(5660300002)(36860700001)(336012)(6266002)(82740400003)(102446001); DIR:OUT; SFP:1101; X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Jul 2022 09:40:29.4564 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 44e479f0-4864-44ea-1a32-08da66460e08 X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.62.198]; Helo=[xsj-pvapexch02.xlnx.xilinx.com] X-MS-Exchange-CrossTenant-AuthSource: DM3NAM02FT049.eop-nam02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR02MB2211 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean |
Series |
Enable power domain driver in ZynqMP and Versal
|
expand
|
diff --git a/arch/arm/mach-zynqmp/include/mach/sys_proto.h b/arch/arm/mach-zynqmp/include/mach/sys_proto.h index 1c12eac715..9fffb4e541 100644 --- a/arch/arm/mach-zynqmp/include/mach/sys_proto.h +++ b/arch/arm/mach-zynqmp/include/mach/sys_proto.h @@ -46,11 +46,6 @@ enum { TCM_SPLIT, }; -struct zynqmp_ipi_msg { - size_t len; - u32 *buf; -}; - int zynq_board_read_rom_ethaddr(unsigned char *ethaddr); unsigned int zynqmp_get_silicon_version(void); diff --git a/drivers/mailbox/zynqmp-ipi.c b/drivers/mailbox/zynqmp-ipi.c index 959cce923c..3e4ec47389 100644 --- a/drivers/mailbox/zynqmp-ipi.c +++ b/drivers/mailbox/zynqmp-ipi.c @@ -11,10 +11,10 @@ #include <dm.h> #include <mailbox-uclass.h> #include <dm/device_compat.h> -#include <mach/sys_proto.h> #include <linux/ioport.h> #include <linux/io.h> #include <wait_bit.h> +#include <zynqmp_firmware.h> /* IPI bitmasks, register base */ /* TODO: move reg base to DT */ diff --git a/include/zynqmp_firmware.h b/include/zynqmp_firmware.h index 1c22a62207..fa969bf336 100644 --- a/include/zynqmp_firmware.h +++ b/include/zynqmp_firmware.h @@ -492,4 +492,9 @@ enum zynqmp_pm_request_ack { /* PM API versions */ #define PM_API_VERSION_2 2 +struct zynqmp_ipi_msg { + size_t len; + u32 *buf; +}; + #endif /* _ZYNQMP_FIRMWARE_H_ */
Mailbox driver might be need for Versal and other future platforms. To remove the dependency, move struct zynqmp_ipi_msg to zynqmp_firmware.h so that mailbox driver compiles for other platforms easily. Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com> --- arch/arm/mach-zynqmp/include/mach/sys_proto.h | 5 ----- drivers/mailbox/zynqmp-ipi.c | 2 +- include/zynqmp_firmware.h | 5 +++++ 3 files changed, 6 insertions(+), 6 deletions(-)