Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp1102687rwe; Thu, 1 Sep 2022 12:33:49 -0700 (PDT) X-Google-Smtp-Source: AA6agR6GqMRaOk6NNCqc+O6fD1x5U1Ab83/pYGqqSkLlAaZUUnggv7V/SB7va+4J3xXmE/6RggsW X-Received: by 2002:a17:907:3ea3:b0:741:66c0:7f68 with SMTP id hs35-20020a1709073ea300b0074166c07f68mr16917199ejc.31.1662060829613; Thu, 01 Sep 2022 12:33:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1662060829; cv=pass; d=google.com; s=arc-20160816; b=HH/66KrSw/MwcC82MxgdVhRhfW9jwuCj62eGVmidMM8vJmpmNV3701YktWj0FYRDJd OUTCIfTpS+aBVnMMaIECZGTS+fp6H8OQNuCe5rT5BdJPHxqFb0IG6WXDM4a1QWpi++De vX6xlZ5NeSfHsN1zN151AIDYXamKGmycgFja8SzhLpa9amZNUqe1+VrAkDGstjooIJid vbPKHB3JYqIebPDkigkYpFSVkzYX8crZdqaXTKZjUR9fEFfNFJLGAPh/w2wH7/DuJb+n WoTqeIoPHI9vMpIrCboNQ5JNQLiavCySJVOG1Ea+FK3EXGBJk8z6WW3lLvLCFtxZrAIj SrlQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=m3mIIOWZO/1WVAzPCJOoTHWtERZC6AAw9efWhDrNJZc=; b=zTPrsA4wYYt0weyy55n0X1iBgFjz9jwcC7h9bl/ZtpquCp3dj4jLu5wWR8B8SZD+5t zprFGXgC3gSq6yeCeLeXPIPX0C42sjXxHlgQKXWRkVjKq/CQBG50NlL9C/hE0aD7spGN EgkC69KSmqtR2Yt1m8cr8KkU+nyJ/GOjgK8QosjuFIejE7v/FI0eGHTkMTIm69Tq7km+ R4G8F4mryaX8Ljwfsm9HK5FoF8CYc/tlqMRDR+v8gj/gj9zR6FRzYhEc9Q6gryDzSmc0 axQMjp+Cx27G5LQUMUgVYGr21rTloAcp7UmuS1PixiC5gdT12t3kTqS/yllrj1l0nDie s6ww== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=a9nzfSFU; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qw4-20020a1709066a0400b0072b7fa15683si86541ejc.312.2022.09.01.12.33.19; Thu, 01 Sep 2022 12:33:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=a9nzfSFU; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233855AbiIAT3x (ORCPT + 99 others); Thu, 1 Sep 2022 15:29:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233598AbiIAT3u (ORCPT ); Thu, 1 Sep 2022 15:29:50 -0400 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2042.outbound.protection.outlook.com [40.107.243.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27220DEC; Thu, 1 Sep 2022 12:29:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=M1PjO600cUheQF3QC4hG5nBfoPZyRm34eHAQwvTYa36ycRJWoQOpGWyMuF0zfn7Ze192hRRqsu3pkUiOizLwDyUybTkaizFpd4rtqCLIy1eoKtPID2uWnqxnp70Kq/+Lmp+LgZd/VPIXkPCqDAdnUFxtct9hGBUGAZAmGYjew+FidkmRe+wfny/T/ikllf/67HNOHqApgD760LJtb5g7NBNamxYr0MF99BXHpor/pZEvQh5JF6tVu9UCMwiF5iPh2GfmjEL/gBqEJw1vJ8sl+b9lFYNo+xoeQYGo+DaggkpDtod8lDbXnKM0ntTlcnOHMZFPmF3KoxAoto4TQYZj0A== 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=m3mIIOWZO/1WVAzPCJOoTHWtERZC6AAw9efWhDrNJZc=; b=Ai2QttdcjbMOI8E70TuJY0aQIaVugxBWNl1yNmTFAtQ6TGfgqdwOKtBj5xcA016oSTIdD33mOF53jarlgWSJUzAjmyLktkayoLVqRY6ebe0GKfTuO9ml80+94KJeHVpnVNzaF2Vr5xWPhs9p+Sv5Wm7IIr3jSUT8WMbRosBBncVdqwpTX7KtvgDM6PjwIS96TsWuvJ2DwkBp2XH0t3ltczZ82dOgLhPezh7C8swKtK19a6G+8kIpixrb0h9d+B/LHTQIUQXFZtx/N12SFLKSUjAWOjN0hb+fpmFu20EkA/+K+LOw0oED8BjVWchnjhRf+/iEdIMt5vZd+Mayh+ZoPw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=m3mIIOWZO/1WVAzPCJOoTHWtERZC6AAw9efWhDrNJZc=; b=a9nzfSFULTFmUM2vsU9kXjd9/uOsb0JW42I7VNli3WTYNVGq9eBgXmzt/h2Ea/i4n/wZn4KUMpVhkf06leDmlkHT+LZAYH+F7HglZ+6a1Ppbxo/Igw6j3jhF3q241wfpQfusEcqfKlDo1ZIMuJnsgeV3kDfOGxm49xSJdqQXMsc= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from BY5PR12MB3683.namprd12.prod.outlook.com (2603:10b6:a03:1a5::16) by BL1PR12MB5269.namprd12.prod.outlook.com (2603:10b6:208:30b::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5588.10; Thu, 1 Sep 2022 19:29:41 +0000 Received: from BY5PR12MB3683.namprd12.prod.outlook.com ([fe80::3441:5a68:b4b7:e988]) by BY5PR12MB3683.namprd12.prod.outlook.com ([fe80::3441:5a68:b4b7:e988%6]) with mapi id 15.20.5566.021; Thu, 1 Sep 2022 19:29:41 +0000 Message-ID: Date: Thu, 1 Sep 2022 12:29:37 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Subject: Re: [PATCH v9 1/6] dt-bindings: remoteproc: Add Xilinx RPU subsystem bindings Content-Language: en-US To: Mathieu Poirier , Tanmay Shah Cc: bjorn.andersson@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, michal.simek@xilinx.com, ben.levinsky@xilinx.com, tanmay.shah@xilinx.com, michal.simek@amd.com, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20220708013955.2340449-1-tanmay.shah@amd.com> <20220708013955.2340449-2-tanmay.shah@amd.com> <20220901173817.GA626605@p14s> From: Tanmay Shah In-Reply-To: <20220901173817.GA626605@p14s> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: BY5PR17CA0046.namprd17.prod.outlook.com (2603:10b6:a03:167::23) To BY5PR12MB3683.namprd12.prod.outlook.com (2603:10b6:a03:1a5::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: fedd93a4-f497-4ca7-366b-08da8c5050c6 X-MS-TrafficTypeDiagnostic: BL1PR12MB5269:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5H1gthgALCbBxRwqPmSk9bZJ6DEYF5jiy6f8UK1fWMQ069E1c2qYvuhtmoaXiQkrRX7V2FxvHnUn49IgaGb5P6RSn5HT9I70Bzr4HauEnq+e6GVrojGUSEcZENCTFwe6hNS21isW4xnWJtkFb1xu5pu8KrWjJA0YURoMeZZHBrbHnVFygmjYJB1Ab/B3EOuXrjKzbj4OFOzCltWAIYTCB2HB/j07AZQVlrt3jgAptYqla/nCSQ9dOE2RU0VHSQV6TmkHl9fg06jXwVgnPGMAm2sXwIX/nTCqLQq3cC2nPkdmOV+BBM6fa8ahlZDwCfhSHQHWf2B8BUTonuq5HhPZtUKqaOCfQeJVZhSaZxhLyMJZwg3IZ73eCCSPgTVef/R2MW71CSrCEa4AqjX8UBZxJhJdQHFMRDqr7gpwM5GJzqMQ9NdSYa1zH4LbjK42Hk/AT6KlS/AShLPJw4YKQLA4J7+lCvF7sd37yIkzwD9WkWAgzRK7m8QawstAIWxIkbPCeOiFkf9BlUisDdwQjRCwD9iHxlQRcbhEAqlDdaPFMwxPFQ9UZx6tu1vcYVeNj6KrP1GLumd7Gs2avBggZAQadsBOaXzU5bbZ9vqlLyu8WB+GVgghP2tZUofcOhf7leLirZ2iT9FfaSueGt7tjwYm60+rxfKYOmZVZ+Pcq+UbZpsY3COdu7y9G7uJLMcAhR7rqSjd4gWvn7WYzGfYkCNTKG8ARtosWD0c26rSbeFN71zcRmLJOGmh9bmr6E3TGF0nmiWfm35sAE1oJd4sDr7YOnqtNjMiMHUd+gMXULSIu/C2R0eJk9PwrNwLjQ70E08k0O37GR5GhbAzuTLtgLItn7AjP2g/p8S7mZv95CkT3phGfIHQK3uGerkIkM7Zmm8d X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BY5PR12MB3683.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(366004)(39860400002)(396003)(376002)(346002)(136003)(8936002)(41300700001)(66946007)(8676002)(66476007)(4326008)(66556008)(478600001)(53546011)(26005)(6512007)(2906002)(31696002)(5660300002)(6666004)(6506007)(38100700002)(186003)(2616005)(83380400001)(36756003)(966005)(110136005)(6486002)(316002)(6636002)(31686004)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?aTQ5VXJVVmRiSHVNV2ptY1UwUW00djZIWHlBK1BleVpBa09jeENiazQ1N3Yw?= =?utf-8?B?ZnR5ZE9jbjlETlV6SFRDbGVBZ3lva2pLczJNVHNCOVp6QzkwdXFlMndvZ3Rz?= =?utf-8?B?bk95dUVzVkhQVWc1ekZuTHVQdm94ZmNKVHNBSWJENGlXMGdRUWZmeWUzbnBz?= =?utf-8?B?NFpLZXhKa1ZmbkExdjNqSGRMQ3JKRS9PNE9meEJlUXVCVkZtR0RzRGthQkdj?= =?utf-8?B?eG9IZmNRNlZlQW9Va2U0Sk5IR0xjcWVR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bmdKWCt2eXUwbDVZNE5rdWJoeER5MzdOMktqd1RtcTJ2NFhmRWFiUlpJY3pu?= =?utf-8?Q?jtS0Cd87cO/rNbJdDRwFp2UYM?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: fedd93a4-f497-4ca7-366b-08da8c5050c6 X-MS-Exchange-CrossTenant-AuthSource: BY5PR12MB3683.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Sep 2022 19:29:40.9129 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 3yOIO3WqDjgigcc6k40c74fg1s6Iv2QuIfCh4168oDKz7jH2LX0xahs+pE2Dzv/Z X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR12MB5269 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/1/22 10:38 AM, Mathieu Poirier wrote: > Hi Tanmay, > > I have started reviewing this set. As usual I will notify you when I am done. Sure Mathieu !! Thanks. > > On Thu, Jul 07, 2022 at 06:39:50PM -0700, Tanmay Shah wrote: >> From: Tanmay Shah >> >> Xilinx ZynqMP platform has dual-core ARM Cortex R5 Realtime Processing >> Unit(RPU) subsystem. This patch adds dt-bindings for RPU subsystem >> (cluster). >> >> Signed-off-by: Tanmay Shah >> Signed-off-by: Tanmay Shah > Any reason for keeping the your Xilinx address in the "From" field? When > applying your patch I get: Originally authored using Xilinx email ID, and switched to AMD email ID in between. I will fix with AMD email ID only in next revision. > > Author: Tanmay Shah > Date: Thu Jul 7 18:39:50 2022 -0700 > > dt-bindings: remoteproc: Add Xilinx RPU subsystem bindings > > Xilinx ZynqMP platform has dual-core ARM Cortex R5 Realtime Processing > Unit(RPU) subsystem. This patch adds dt-bindings for RPU subsystem > (cluster). > > Signed-off-by: Tanmay Shah > Signed-off-by: Tanmay Shah > > Which is cumbersome. It would be much easier if it was: Ack > > Author: Tanmay Shah > Date: Thu Jul 7 18:39:50 2022 -0700 > > dt-bindings: remoteproc: Add Xilinx RPU subsystem bindings > > Xilinx ZynqMP platform has dual-core ARM Cortex R5 Realtime Processing > Unit(RPU) subsystem. This patch adds dt-bindings for RPU subsystem > (cluster). > > Signed-off-by: Tanmay Shah > >> --- >> >> Changes in v9: >> - remove power-domains property description >> - fix nitpicks in description of other properties >> >> Changes in v8: >> - Add 'items:' for sram property >> >> Changes in v7: >> - Add minItems in sram property >> >> Changes in v6: >> - Add maxItems to sram and memory-region property >> >> Changes in v5: >> - Add constraints of the possible values of xlnx,cluster-mode property >> - fix description of power-domains property for r5 core >> - Remove reg, address-cells and size-cells properties as it is not required >> - Fix description of mboxes property >> - Add description of each memory-region and remove old .txt binding link >> reference in the description >> >> Changes in v4: >> - Add memory-region, mboxes and mbox-names properties in example >> >> Changes in v3: >> - None >> >> .../bindings/remoteproc/xlnx,r5f-rproc.yaml | 135 ++++++++++++++++++ >> include/dt-bindings/power/xlnx-zynqmp-power.h | 6 + >> 2 files changed, 141 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/remoteproc/xlnx,r5f-rproc.yaml >> >> diff --git a/Documentation/devicetree/bindings/remoteproc/xlnx,r5f-rproc.yaml b/Documentation/devicetree/bindings/remoteproc/xlnx,r5f-rproc.yaml >> new file mode 100644 >> index 000000000000..56b4dd1d5088 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/remoteproc/xlnx,r5f-rproc.yaml >> @@ -0,0 +1,135 @@ >> +# SPDX-License-Identifier: (GPL-2.0-only or BSD-2-Clause) >> +%YAML 1.2 >> +--- >> +$id: http://devicetree.org/schemas/remoteproc/xlnx,r5f-rproc.yaml# >> +$schema: http://devicetree.org/meta-schemas/core.yaml# >> + >> +title: Xilinx R5F processor subsystem >> + >> +maintainers: >> + - Ben Levinsky >> + - Tanmay Shah > Here too... If you are switching to amd.com, please do so everywhere. > > More comments to come. Ack > >> + >> +description: | >> + The Xilinx platforms include a pair of Cortex-R5F processors (RPU) for >> + real-time processing based on the Cortex-R5F processor core from ARM. >> + The Cortex-R5F processor implements the Arm v7-R architecture and includes a >> + floating-point unit that implements the Arm VFPv3 instruction set. >> + >> +properties: >> + compatible: >> + const: xlnx,zynqmp-r5fss >> + >> + xlnx,cluster-mode: >> + $ref: /schemas/types.yaml#/definitions/uint32 >> + enum: [0, 1, 2] >> + description: | >> + The RPU MPCore can operate in split mode (Dual-processor performance), Safety >> + lock-step mode(Both RPU cores execute the same code in lock-step, >> + clock-for-clock) or Single CPU mode (RPU core 0 is held in reset while >> + core 1 runs normally). The processor does not support dynamic configuration. >> + Switching between modes is only permitted immediately after a processor reset. >> + If set to 1 then lockstep mode and if 0 then split mode. >> + If set to 2 then single CPU mode. When not defined, default will be lockstep mode. >> + In summary, >> + 0: split mode >> + 1: lockstep mode (default) >> + 2: single cpu mode >> + >> +patternProperties: >> + "^r5f-[a-f0-9]+$": >> + type: object >> + description: | >> + The RPU is located in the Low Power Domain of the Processor Subsystem. >> + Each processor includes separate L1 instruction and data caches and >> + tightly coupled memories (TCM). System memory is cacheable, but the TCM >> + memory space is non-cacheable. >> + >> + Each RPU contains one 64KB memory and two 32KB memories that >> + are accessed via the TCM A and B port interfaces, for a total of 128KB >> + per processor. In lock-step mode, the processor has access to 256KB of >> + TCM memory. >> + >> + properties: >> + compatible: >> + const: xlnx,zynqmp-r5f >> + >> + power-domains: >> + maxItems: 1 >> + >> + mboxes: >> + minItems: 1 >> + items: >> + - description: mailbox channel to send data to RPU >> + - description: mailbox channel to receive data from RPU >> + >> + mbox-names: >> + minItems: 1 >> + items: >> + - const: tx >> + - const: rx >> + >> + sram: >> + $ref: /schemas/types.yaml#/definitions/phandle-array >> + minItems: 1 >> + maxItems: 8 >> + items: >> + maxItems: 1 >> + description: | >> + phandles to one or more reserved on-chip SRAM regions. Other than TCM, >> + the RPU can execute instructions and access data from the OCM memory, >> + the main DDR memory, and other system memories. >> + >> + The regions should be defined as child nodes of the respective SRAM >> + node, and should be defined as per the generic bindings in >> + Documentation/devicetree/bindings/sram/sram.yaml >> + >> + memory-region: >> + description: | >> + List of phandles to the reserved memory regions associated with the >> + remoteproc device. This is variable and describes the memories shared with >> + the remote processor (e.g. remoteproc firmware and carveouts, rpmsg >> + vrings, ...). This reserved memory region will be allocated in DDR memory. >> + minItems: 1 >> + maxItems: 8 >> + items: >> + - description: region used for RPU firmware image section >> + - description: vdev buffer >> + - description: vring0 >> + - description: vring1 >> + additionalItems: true >> + >> + required: >> + - compatible >> + - power-domains >> + >> + unevaluatedProperties: false >> + >> +required: >> + - compatible >> + >> +additionalProperties: false >> + >> +examples: >> + - | >> + r5fss: r5fss { >> + compatible = "xlnx,zynqmp-r5fss"; >> + xlnx,cluster-mode = <1>; >> + >> + r5f-0 { >> + compatible = "xlnx,zynqmp-r5f"; >> + power-domains = <&zynqmp_firmware 0x7>; >> + memory-region = <&rproc_0_fw_image>, <&rpu0vdev0buffer>, <&rpu0vdev0vring0>, <&rpu0vdev0vring1>; >> + mboxes = <&ipi_mailbox_rpu0 0>, <&ipi_mailbox_rpu0 1>; >> + mbox-names = "tx", "rx"; >> + }; >> + >> + r5f-1 { >> + compatible = "xlnx,zynqmp-r5f"; >> + power-domains = <&zynqmp_firmware 0x8>; >> + memory-region = <&rproc_1_fw_image>, <&rpu1vdev0buffer>, <&rpu1vdev0vring0>, <&rpu1vdev0vring1>; >> + mboxes = <&ipi_mailbox_rpu1 0>, <&ipi_mailbox_rpu1 1>; >> + mbox-names = "tx", "rx"; >> + }; >> + }; >> +... >> diff --git a/include/dt-bindings/power/xlnx-zynqmp-power.h b/include/dt-bindings/power/xlnx-zynqmp-power.h >> index 0d9a412fd5e0..618024cbb20d 100644 >> --- a/include/dt-bindings/power/xlnx-zynqmp-power.h >> +++ b/include/dt-bindings/power/xlnx-zynqmp-power.h >> @@ -6,6 +6,12 @@ >> #ifndef _DT_BINDINGS_ZYNQMP_POWER_H >> #define _DT_BINDINGS_ZYNQMP_POWER_H >> >> +#define PD_RPU_0 7 >> +#define PD_RPU_1 8 >> +#define PD_R5_0_ATCM 15 >> +#define PD_R5_0_BTCM 16 >> +#define PD_R5_1_ATCM 17 >> +#define PD_R5_1_BTCM 18 >> #define PD_USB_0 22 >> #define PD_USB_1 23 >> #define PD_TTC_0 24 >> -- >> 2.25.1 >>