Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1656870rwb; Wed, 28 Sep 2022 23:48:09 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4WhvE80qV6A9NKOzdIvzxoF3GbLnZlejUm6/akdoSEBufOdfIOy3fuCFWd6nrn6FLBtTZY X-Received: by 2002:a17:907:7214:b0:783:415e:70c7 with SMTP id dr20-20020a170907721400b00783415e70c7mr1462372ejc.636.1664434089242; Wed, 28 Sep 2022 23:48:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1664434089; cv=pass; d=google.com; s=arc-20160816; b=ieD2Cnki36sXgk09tOQuEZBsbX+Dmy3c3wh7V0+zPdJf6XX46SOZUeXRiW35a3NmY4 i5Net+BNda8IE6nfUOGu9/bezaHF3jkL0MP4VTb3ul00yK1oAvIbGAkAs0/yODOh+M2M B0hLJHd6qT47RRO7BhSF4Iq4auB5qVlaAR6rJFZ5gEyrjaaLEC8O9kI2SuWNQhPFLQKh eaEKndGWaQLwq4EQyXMohzx+fQ5Tlswo3dTy5LHIYxH7B0F20BehtklZxyVwm68V6zAr z5m6vTdbYM/mOQleLovD4G4H42JAV7cwK2ozafFNUXwtPeSivouq08+Dww2YGVTUztyd ac4w== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=05Sxwp2qiuQnWOyN46jehy6hs5jPcBhHTOijKpW514o=; b=xQXA7nHfFNSkpixFxnhqaw7oXrSphmofaOTTCih+kw7f1AsNSPiFpJwhwRmcqCcEZe t1OTEnk8lqbc3R9Rznrt15SVuoljycMXzBy7zGiJ7qML/PFP+AuPBc0h3kWqESQYYcOh wO5lhQQvkq62PFMOXVVqP8jn/m/5R/teW2ktGJ3gn92CJqg9yYUw/5edZ7UAmunkQAoE xDwkMC9jKvCjArYKTtsJRPjGXXN2qyH+4wkowPoCD4sFDqkciqmLTUAO/va8cPzo5Tjs tkY9qvAMz0WS0Tyi/Tsvhisju5ozxi2YhyQp6fiR/bVBRNrF3iKVVcYkez6IEnSrZAGs yvxw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=icH6CYdR; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.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=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sg20-20020a170907a41400b00782d7448ce5si8380587ejc.734.2022.09.28.23.47.43; Wed, 28 Sep 2022 23:48:09 -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=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=icH6CYdR; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.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=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234943AbiI2GP6 (ORCPT + 99 others); Thu, 29 Sep 2022 02:15:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49546 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234932AbiI2GPw (ORCPT ); Thu, 29 Sep 2022 02:15:52 -0400 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2077.outbound.protection.outlook.com [40.107.21.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E760C128A38; Wed, 28 Sep 2022 23:15:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oUpa2nyukiKleDJo8bQ8HTNpoxtywxvCB8ezW89eJAanQ8Q0WqnYfPaRu9T0/9rv/M99CVoVzMYyi0aCg9kgRAXfKqm3ii2lP8T/y4cctGRV+xSdp7wdqRHV2VT3RUCNsS61ZltLBfH5vWjr5jcCLmX0YyBnHVB4rq2aD6RCAV6sKK00aoX0116B0p/C+gs2iFkWxCuvpV4jljpu0IAkUpwstxSMVEgpCIU6QHzA6RXIiJDWe/66NrnDcD1emYQSJbWIQW3QrADSraTLtqmXPYD7qfqAa+hlTOPnG1PzyP5tYXNHfIJOfFPs7VA2ba39phAQIo4APw+deMAUQOuseg== 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=05Sxwp2qiuQnWOyN46jehy6hs5jPcBhHTOijKpW514o=; b=NGvtZqG8LNAO5+dC2Z8xz4GK+QTrEC5LmwDHcYftNbiUxzSIuMSHiqB2CHgdkuEQLNiHYOpI7QD3+J+0xAriwC0+AUnJbLjZBax0wooKQyVbwFfmI6nExda5QhZtbUv6gX0RbT/d2BYLCOjTuzs27g3NNGUoQ4G9qjVTTDhE3RClD5If67KsEb4cjurUT2p3N8nKCHHAINuSKSPEgaE0pkic01khaCtrdokBQEydpKp+cYjm/I6/jduTKM25K1oVtTO0xHgtiBAB0Yf7eXDcsZnlWEEKtLA8SrV48vULlTHERsPBUXJ76jNn4+Ac9nbwi5bGYwfUpcTLF9Evk7WSqw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=05Sxwp2qiuQnWOyN46jehy6hs5jPcBhHTOijKpW514o=; b=icH6CYdRix+3TjrN4scjI2FWj4E6wIEjMtg5TqpTbw9edY74j9Hu5RVTYjwCsCEpEaLqNaWcLanUnSDkv7veOC9vN2Gw3rEGfScbTFMbsAf8VSwhzR+xMytCTJhlw+m6IyLoGHAsiaAMvsQ9/sZfKPoXdaIagI/7+qErVukDjtw= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by DU2PR04MB8648.eurprd04.prod.outlook.com (2603:10a6:10:2df::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5676.17; Thu, 29 Sep 2022 06:15:41 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::1eb:dcf:8fd7:867]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::1eb:dcf:8fd7:867%7]) with mapi id 15.20.5676.019; Thu, 29 Sep 2022 06:15:41 +0000 From: "Peng Fan (OSS)" To: andersson@kernel.org, mathieu.poirier@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan , Rob Herring Subject: [PATCH V6 1/7] dt-bindings: remoteproc: imx_rproc: support i.MX8QXP Date: Thu, 29 Sep 2022 14:16:58 +0800 Message-Id: <20220929061704.1571746-2-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220929061704.1571746-1-peng.fan@oss.nxp.com> References: <20220929061704.1571746-1-peng.fan@oss.nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SI1PR02CA0018.apcprd02.prod.outlook.com (2603:1096:4:1f4::7) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|DU2PR04MB8648:EE_ X-MS-Office365-Filtering-Correlation-Id: 1bbaf077-77a3-4bbc-335d-08daa1e208bf X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: VfNBNHYwNl5/WkpDASe7hON0eb8TnY2+Y2QfvNnRhUb0rAO4qD4zuaDI8AVCj3QvtV/JuNn96ukL+UA82m6T4U/cdcb9E/Y+fe9xle5dLsGSKLTxP1uxHGMgdl5Vi0Hfl2GTyOvNA64xW8vouOhgIX0z9Hf6+d4AbgrEXcjiXa0ZB5q7ePW7yM+TTT/jSNsRxsd0vKHEoBWdQBJ4MnB0YbF94k4/PpyEjUPhWTBgVuNbp879TIDqlJWN4wloxrZTtI6iN0+au3xl7kS46Yk4CnpCeS7jJPh0iOsHuxv/qQrLIfSMSHHb5pSfUQrCjfezbKCkf22rkHexcO19AMZQ4No5tOyPnjelIDuZrfTztxy7mZbTPT69qz//Wdjj2DXW0QEcXfe4S4Nk09MBQV1s/RUBisO26VS48H5ptpZozymAHf6uml/+XPDtfDILcdmeXA9PfZCg0r7fE/82XzVnGv9VR7BWR4ZkfW/YKPvwc0INcP5ltv6Bi6DGYeFauwyOdAubE3a77PaKXt6gDy8HPSsv7ue59G/zSJwB3mog6spygBg0glI4/3Ghx262SOmEUXVC5QMSretRQGR2l8CfGV5UEo3iRf646yPMgihWbquiL2Py0G15ef0U+lwtkGratmxEExnHJWoTHAxUdlihNL5jvq+ZqS35s3dv83sJh7n/MCwzqdFMALedU2k0C+1QFuRAPnCostHKhw9cjrCDm1umP56wByIEwnWjeK/lqAJQpu9sVIcwCY0ZIDNK9cMAoJKs8bObOlw7Qq3jtahRvQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR04MB9417.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(39860400002)(346002)(136003)(396003)(366004)(376002)(451199015)(4326008)(316002)(86362001)(38350700002)(38100700002)(8676002)(66556008)(66476007)(66946007)(54906003)(1076003)(478600001)(6486002)(41300700001)(2906002)(5660300002)(7416002)(6666004)(8936002)(186003)(2616005)(52116002)(6506007)(6512007)(26005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?ylTUGOIjILr+ya1F6TZXUvPoyTycRSf2e8bmW57yfKTH2DC2YQCP7q7+LALC?= =?us-ascii?Q?BGImuCmCjACLRFA2msRozh/0yjUXFconAaAu7DqtRe8QtQ2Lzu68fiqj81Qg?= =?us-ascii?Q?a7UXOtgy+fT2DK5I4D4GM01AISq3Bz24NuwrVd8C/ROsCfz+3jl0CsUb5eGB?= =?us-ascii?Q?/lu8t4gq4S8zWZTEHMZWm5ZCkDjlxEYXb5Rz9Zppqvy/Ew0XT5EWqyZEGu/I?= =?us-ascii?Q?UpGG7RAacMMSR/lzBb8Rr8Z3dzgoG5Uc/UPbPemhxz2uGcltgV8SFJ++DLwf?= =?us-ascii?Q?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CQrdMEfXdABVxF/djVKBDawHTHbAB?= =?us-ascii?Q?0Hn8f3VQRzfuwjZ0QvlJANmbDA/39l9nHmXgGADCuIAnOZqyOXY7n+ySDzI7?= =?us-ascii?Q?5VBYZrynod5xHtkE2p+sbloampMYmrOAPaPbWnrdIXVBO1j3S6YgCDrx9d2u?= =?us-ascii?Q?r7d0PGz6wxs2lTAYc9xhE5WvCe6/Sugh8U3W1qFPBYanC1b45eAMN/Ba3bT1?= =?us-ascii?Q?J8B6ZVpXc7GEPMBgjbrrWZ4wKfP+6P6A8ZtD8gM0ozcjF3kRWjotTO9xBcLA?= =?us-ascii?Q?0l2jOrV1psGKZ+MRsGkBDP9wEeyOpQME6I9FjGS14VJJoNQ9Is+6X+AbBOKi?= =?us-ascii?Q?VMrJOdQzUVljZqXmIYpBK+fK4vDZzG6MV5ZeezOC/Tt/w0N5hS/qKh4nul0k?= =?us-ascii?Q?SKfBIrUu8oeoRwj2fPM85SK0qZdLL5fyLz2fOTMQ?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1bbaf077-77a3-4bbc-335d-08daa1e208bf X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Sep 2022 06:15:40.9650 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: DsOcvxYLghc6KdMxaGgGS+tUf2uB/qxONUjVngLRnlC3TUbMI8IFJ6tDg42ujc2sbcm3IA+vPXoF75a6j7TmrQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8648 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS 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 From: Peng Fan Add i.MX8QXP compatible Add a new property fsl,resource-id for SoC which supports SCFW. This property is used to check whether remote process is under control of Linux or not. Add fsl,entry-address to specify the entry address which used by SCFW to kick M4. To i.MX8QM/QXP, when M4 is in the same hardware partition with Cortex-A cores, need power up M4 through SCFW, then M4 could start. So introduce power-domains property Reviewed-by: Rob Herring Signed-off-by: Peng Fan --- .../bindings/remoteproc/fsl,imx-rproc.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Documentation/devicetree/bindings/remoteproc/fsl,imx-rproc.yaml b/Documentation/devicetree/bindings/remoteproc/fsl,imx-rproc.yaml index 3a1f59ad79e2..70322e57b6ff 100644 --- a/Documentation/devicetree/bindings/remoteproc/fsl,imx-rproc.yaml +++ b/Documentation/devicetree/bindings/remoteproc/fsl,imx-rproc.yaml @@ -22,6 +22,7 @@ properties: - fsl,imx8mn-cm7 - fsl,imx8mp-cm7 - fsl,imx8mq-cm4 + - fsl,imx8qxp-cm4 - fsl,imx8ulp-cm33 - fsl,imx93-cm33 @@ -54,12 +55,26 @@ properties: minItems: 1 maxItems: 32 + power-domains: + maxItems: 8 + fsl,auto-boot: $ref: /schemas/types.yaml#/definitions/flag description: Indicate whether need to load the default firmware and start the remote processor automatically. + fsl,entry-address: + $ref: /schemas/types.yaml#/definitions/uint32 + description: + Specify CPU entry address for SCU enabled processor. + + fsl,resource-id: + $ref: /schemas/types.yaml#/definitions/uint32 + description: + This property is to specify the resource id of the remote processor in SoC + which supports SCFW + required: - compatible -- 2.37.1