From patchwork Fri Jul 22 12:57:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 592582 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 90C04C43334 for ; Fri, 22 Jul 2022 12:56:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235110AbiGVM4G (ORCPT ); Fri, 22 Jul 2022 08:56:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235079AbiGVM4E (ORCPT ); Fri, 22 Jul 2022 08:56:04 -0400 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2055.outbound.protection.outlook.com [40.107.20.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB7773CBD4; Fri, 22 Jul 2022 05:56:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QAokvWcMJneKQqNJHG1vJTbKO9/6ZY2RUH2SAAvnuQkh7X5xwriT+B6Cdt2rqjf0M1sn125aGFFhME5gu47CWmJEDCBDrMypgImaD+E1eatblm+isvLg4YsVjoaUe2LEkXsHCqGGy8Xnh0yESndSaocffevwiiSeJ5sSuORym/iM1YTrrIPPBOQJaziNL4noveudaIl9CLH6wZ5/hwv0hFElVCV7llWlSqmhyfxotoby0SaiaZQIDJ0vMCq7/QsK8Kp0T5720EysvqUG7puYCZJ3/+TNve9DQecYwh8nhphhnp2aFVq0BfN1rSHsorbd/vn+0cs8GBLHnaS0DIwenw== 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=0f77LvFnHuEDLpu39Wyg6gl3cytTb7OfhayJX0CMNYI=; b=NRHXfEWDdUQVuNg/9mPyFmJcQkYmauwiY1u5KSr2Jc9XD774fXwLpNEbpycPTsCwIkpMlgP7Vgtn48d1GNOEohunRoSdOhnuf9tizCXWPdInFs8TFtPN32jITN81F8KHi7eNwQ9t7fC0KRJVu1iFlEY7JE1I334drd0lATUnQVLalLVCdwkXYOYtEmjVrMDFihVdONnvDq8vYgEGldiBWcix5Dpk3vhW3E6LbsvPpKWecrZYb/6FwKGeyoM4U/neAoYHZJA8qs11+Ra9wZ3RIfa1015ZW2NFPU4iWAjadG21/PRGBjuBKxANJYC0m9RAcnqBjmAOat/EsMxYaWQfeQ== 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=0f77LvFnHuEDLpu39Wyg6gl3cytTb7OfhayJX0CMNYI=; b=PFpOp1r2aP8bHgqK/AuD2fQwqm545GzOCev1szPib17i151GH6N6nC3+VY/M+ZPZ43kBflIARXqO4SEgzjZlcZdK+1+caK2/uMDHDeRnGNpC+8ZNSHFS224rMkS4yRsTtAzpXU/ZX1CJiuyctuGa2oyPmogXJWb39VkfpATMrSE= 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 AM9PR04MB7633.eurprd04.prod.outlook.com (2603:10a6:20b:2d9::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5458.19; Fri, 22 Jul 2022 12:56:01 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::c0c2:ede7:3b85:1597]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::c0c2:ede7:3b85:1597%3]) with mapi id 15.20.5458.019; Fri, 22 Jul 2022 12:56:01 +0000 From: "Peng Fan (OSS)" To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de, l.stach@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, laurent.pinchart@ideasonboard.com, marex@denx.de, paul.elder@ideasonboard.com, aford173@gmail.com, Markus.Niebel@ew.tq-group.com, alexander.stein@ew.tq-group.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, aisheng.dong@nxp.com, Peng Fan , Krzysztof Kozlowski Subject: [PATCH V4 1/8] dt-bindings: power: imx8mp-power: add HDMI HDCP/HRV Date: Fri, 22 Jul 2022 20:57:23 +0800 Message-Id: <20220722125730.3428017-2-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220722125730.3428017-1-peng.fan@oss.nxp.com> References: <20220722125730.3428017-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SGXP274CA0019.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b8::31) 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-Office365-Filtering-Correlation-Id: 8ed9f41b-2bd6-4291-b886-08da6be18767 X-MS-TrafficTypeDiagnostic: AM9PR04MB7633:EE_ 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: S8NwfBfFv9r0PZieppH3IKR3Nq3i42ckbUDKNZiEsnGJW+GwrMqNfdkyXurBxqVPqkF795mkURJkU1EYmKfipmUBGl/mG6wbpDIJwHnddoRF+0MzcZTH7XOMveqy+Jbs6+OGX5kIcj4voTlfmD/xgoPk9pFSSjAXUCf2RSi2N9H6qFa//5NGkej9RNe5Wb2kpyr/baQYGpjzbikIRaiG3CB+1gB+5E72TaUSlxIe+GTArijkR/ejPkuwyPxLnamsL9RzCNHg1qsS0JqwfvWzx+xx9D7V5FJfO6WHIp+Ta1/aigLofCZtPRnEQkPE8giW+ABqjxOOpGKJRU3Aedlt77PA2GcOinoSVO5mxS6nxA1IfMLx4Gh8PL9+46p7O/Vge1X0fAjW37HAkLVnvfDxM+PLf2V0IdXosz426VWU94amO99yV04R+9xY87tcQ9qlngFT/45VZeE5Y0GUbntB+SJT7DX6G5Ne7bn58VeiDHCy5OQLmTtNq+z17/I4ifMyfy2LyM+RddzGEMg76jRwKPEeUE3N7rMD87wLh8vtWV36Op/NFdlOyO/V9fYVztoLcrnixHskBIwuT+t82p37xeLxqnVRGt3wnD50SwiV7QekaDcoziMu49LaGOhmye78DTRvgWzIXlR7GW5fx4xK3PsYGQUxxLQ+vijs9fm0JKjacN7hSi4IWNKk/CWiby+xtpJYzToRcVSjEfNRmDm8XYYOpqGYQwVhtNHStDpdQHbZ260POo/HewXeaFFOWZD4Xngr0kGrCS9trNYJOIy2bK+1UhviODdOPvf5s/W/wGQ8AgzStLKpWd9TLEsnlmYrs+EWiy+7K/CYw/RqQ1VS81ORqaBEwyxEAgDikaiHtzW//9BQrmjVoPfE1OA2Ztqy 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:(13230016)(4636009)(39860400002)(396003)(366004)(376002)(136003)(346002)(66556008)(5660300002)(8676002)(66946007)(66476007)(6506007)(26005)(4326008)(8936002)(52116002)(186003)(7416002)(41300700001)(86362001)(6666004)(4744005)(2906002)(54906003)(6512007)(38350700002)(6486002)(38100700002)(478600001)(316002)(2616005)(1076003)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 5SThjtvAnWmJLItiFXx83dXwahSHJ29jM7hOvZ2Ln5yi4RxfC+cwdSUt3OSNdtWDBSDdk/VsD/zSdeLbldNJtHaa5lWKGAqCUdiWii2tRhRBVVKW8F0DizefuGlDGD0HZ7ugxUN8OGIFAatSCg4hqkUOKT1UqCeWhrX6XNqo7/noHCcNmgskeFRZOFRS7GhR8DYQUH+t26g+2LuCDCpFB3m8q0Unu91oGgojvQs6xaw3HLUmBDx3NjGlHtLx6cVEQOmr+G8iQL38IsFmsZnL+93lqnmqtC/W7PagqblNTgb5e+mWnHfgod2iULQ35cUOSgQb3IlMwwOVq8kZet1I7O+PSzdqV01i7jO3LcHHy/7IdWNt2r7x0g0yDM3lKsj9XEliU6qCzGQawb39AKGOUNo6kEI47SmrQzXhh79zivaFvaBqkyXzlzMSsqZcl3R0hOh6HGQBKYC92QLLer5u/JJafnlu4vf4S9QsK3Q/tYNZTG842jsc8PpMu/b4aKVtedQp9lzwSGelmShPVvqVqtm3wonWQJey4j0c/MytBJPg38kWzl6Gk9LfN9K6M9nOSu3ATDwxIZ+fpApMVJ8OPNk32V3deO9jGfpGj2L3xhhLL7gpBfqxx7mcA4DtDgcaN36jVI+7I0/s/FUiRjRuy+xhZhbOga9tXVXdVQWUJfKxy3NHHI+HA5+1+HnnPrQQnbx0ZhuNXJEYp0LmXg/6Zta94/j8CN7hn1FOWNXIRQ0TRbpCHPTB6sCeC4UYhz3rwCgNrItvKBjgmG+Ty8cFpSbpsn0BQM6S98jUArcgF+ApTkbCYQIv8RawFCjSb2Y0HyXsdm7AV+aLfSiCnVVJGnnKdgZQnhSvorOhvsQs+E4ILJ2kARMgoazDmAiSnJJIiJOHC44fgUFEkJ+AHSjSi+dOJPwyGbeLAaisKhgCv5Pv149SpeUsw+cjJTrDe8ay4Zi82jOq6WjfCXAhGfJrOPo9l0w/KMsATHp2twzBvETcZmVHR+KkwMF2TQbpreuareL5gKvNFXqxi1Xq3s8h2Z4PwbsmuaZhEmsOAlIzwdcJkEMDScphgaS5hUAD64GTnIGl57hPwdp9keJQrnSCGQOyWyyFQtsEYkWK9AlKSWGeqSv67rTRoD5wrHPRRnUrnosnIO2fyljhKBpHJqWeUzpx8BX64Xeis7col1RXuqz6oS4/84MOoSCkpv2gFTkYPec06EWy+A4v3rYm8eCbk2bTb8jqzXygS/2Yedi52X+1PrnR7sm+WVWZqP1DVHqyZ0PlZQou++3OhphYp1B2ETDHOvHSjp/GIxijdwic8aY5dAoqgeyGhxHfn64IA4HA/7yMh5mj6cd5J1zZZQSRD2b1vfkin3nxCnHB6aDlX3V5Q+8xaTRH/b9f6tZOd6TuqZaP02Yoje70OpRchTLRXI43e7SwzSNs/9McFSEoKRuZ0fA/CsaD0tJaDxJFF63yDEzPmkU4/qLghSL4JLXnA2ZfxnUlIDjFzYYYbh2cSLm6pNZ7lWz/v3UYXIN0ZYxqsRZY45VitxIHyNlUCGzglrwMvHra4a7OiLoJ/DMLJiMvmv6T7oqX3jAcC4bSZ9mX X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8ed9f41b-2bd6-4291-b886-08da6be18767 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Jul 2022 12:56:01.3331 (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: scxzq2vlAwWblg0enazca4VDOkhwYZUOWFzKtrFojxgJy1A8KQmITRb6TQ1jtrGhR7beZL0wkylOpjjlDLplGw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB7633 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Peng Fan Add i.MX8MP HDMI HDCP and HRV entries. Acked-by: Krzysztof Kozlowski Signed-off-by: Peng Fan --- include/dt-bindings/power/imx8mp-power.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/dt-bindings/power/imx8mp-power.h b/include/dt-bindings/power/imx8mp-power.h index 7789bcca3223..14b9c5ac9c82 100644 --- a/include/dt-bindings/power/imx8mp-power.h +++ b/include/dt-bindings/power/imx8mp-power.h @@ -49,5 +49,7 @@ #define IMX8MP_HDMIBLK_PD_TRNG 4 #define IMX8MP_HDMIBLK_PD_HDMI_TX 5 #define IMX8MP_HDMIBLK_PD_HDMI_TX_PHY 6 +#define IMX8MP_HDMIBLK_PD_HDCP 7 +#define IMX8MP_HDMIBLK_PD_HRV 8 #endif From patchwork Fri Jul 22 12:57:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 592995 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C401FC433EF for ; Fri, 22 Jul 2022 12:56:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235142AbiGVM4V (ORCPT ); Fri, 22 Jul 2022 08:56:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235193AbiGVM4N (ORCPT ); Fri, 22 Jul 2022 08:56:13 -0400 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2044.outbound.protection.outlook.com [40.107.20.44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A5798CEA7; Fri, 22 Jul 2022 05:56:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ks8KRFHp4b6LsK7QG7fxDrDF8vwXFFR8Nyior/qc3tPPeTMb+fJ3HKIZfXdXKNEdcX+UNQ5r294IkWCUywOzBLWfbIzwP5EC7OEY0SyFJG+TdJqKhaP9noGB1/nx2jSQwBdaDCE2a7FMdlRhVZnaCkQZz2WY/Cs1HxnSxG0q/OzWwV5XM9LZkpwFipjWm1RRuscpdV++hhL0IPp7FbAAVmIHzr5RZ3X6gwUzIsb7/Z3vnXOSl07wOkKsO+/tBTyp/9P4TLMeQdePk7VAt5O827shZNV/Q/aYZojY4Acu5Efgw15tjaM748Lh/VCnGWewVsYusaSCsgQEchvTnIIa9A== 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=mKsrAdly00Em38kdhPjSLRn68fLyjlyY1v8ENm1fQ5w=; b=bjGVidAsS5qsgQ4+yxvu7idg5E/bqGyzhl7hGXDi/1a6+WXKQUmOdgoCaU5TpPFfHNuiY85im8Qc69eayqNj9DDPo9179IW6lOOTglPFrHPBIbmdZ+fB/bqVJkQFaz1AGaGIjDriLdUBgQ/4TJ9TqqUY4NsdDuKQ0IxWsdBenCaWxf0Drb0sqgVR/oVbqsPaqg+mM6Ph+7aQYqRpjFZCOs55HfzVEDmYj6QsAiC7QocgL/5iGj6ljU0pqoMColBLMM50vENs+kfEsSiDsh3qWwpNxQCRYl6PeXPQDUy1vV2bKhbpfKzAvoxJ7/gchgxw9UZRuIsFvO9hdlkYp1kF+w== 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=mKsrAdly00Em38kdhPjSLRn68fLyjlyY1v8ENm1fQ5w=; b=Ztzyye1P7zl2kPee0j4114fK/cpTGwhYl6ypoZ1bZ7jiQZspUiU5/r3I64oiLrxQpk9uBTgEY9bXwKMrrTz+8lV1ED3ZhiH3weXvn4ym90H+d0M47rw3FjO/lT6Kgm9rFwOqGPGHxvVF0R2m7+ntVTq+YvK88PUcgxuEpCYlPXg= 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 AM9PR04MB7633.eurprd04.prod.outlook.com (2603:10a6:20b:2d9::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5458.19; Fri, 22 Jul 2022 12:56:07 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::c0c2:ede7:3b85:1597]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::c0c2:ede7:3b85:1597%3]) with mapi id 15.20.5458.019; Fri, 22 Jul 2022 12:56:07 +0000 From: "Peng Fan (OSS)" To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de, l.stach@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, laurent.pinchart@ideasonboard.com, marex@denx.de, paul.elder@ideasonboard.com, aford173@gmail.com, Markus.Niebel@ew.tq-group.com, alexander.stein@ew.tq-group.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, aisheng.dong@nxp.com, Peng Fan , Krzysztof Kozlowski Subject: [PATCH V4 2/8] dt-bindings: soc: imx: drop minItems for i.MX8MM vpu blk ctrl Date: Fri, 22 Jul 2022 20:57:24 +0800 Message-Id: <20220722125730.3428017-3-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220722125730.3428017-1-peng.fan@oss.nxp.com> References: <20220722125730.3428017-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SGXP274CA0019.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b8::31) 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-Office365-Filtering-Correlation-Id: 6d73162a-5738-4ba5-0f9d-08da6be18ae6 X-MS-TrafficTypeDiagnostic: AM9PR04MB7633:EE_ 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: vDDjhZV2BjC27xt2RtfDHnlpI7g+H6VvwWHRwDD+TLwL0VRPkfVfcWhPi5YZur+Yp5DqwmD/agrg/7h2tt0krwTjl2eOPToXEFgyNbBywbpNLZ2GD1j1Xr73A7tOExCxUPmfyccGF6IfscHvGiC2qEXWZ9Qm6PY39Vdp8uKt8yKpHwbZ7ld3Z524uHpYvzXmTDQ9c3khz/ZI91QH88pKS4zLYWTxqb+Ued43UrORdysLEd2dtsH/i+tRlppahfqJi4jhF1JjxzIk+ew9oslDaZzA1RGfOWPyHSRL8rmP8BfJqrfR9iPcX6IteG+ygmPwoyJbAEA76pkPYfGu1/XI6DwH+5NB7GDFnkB3GAZjQMb98UbLsM1ISmFUeN2fxnpP9z0Ljq+W0o2iquiTTLM1r+AVSthKw87GvrjTd76r/6Iap5lcUQesh7DGpg2fAtjILfvEcGtix3YKIm4Xog3buClEg4uoBw4XVvWRHjIpAisiH/UM1mWcwPPA4/3v7+uj9gyFKx0zVgsh3l6Jx8Apiy+LnEmZ1o65qQxGPQvt6hdew3jHWcIYTh4GyAVWwWMtptqShNvB4NWKEuhVknp5wG/6MAdiGx46X61EI9YSc9duMwUbKFpNbJMC192VxhBkI5OhtMP2sB9KjgF5TKfH+im28jzeVojKqu78FueVQO8MnAt2jnsWlVuSmS+4q/v/FFvOgdLV84EOsqQpPc7AS3JX9ext9hw/i/+zodS6DEnHkag91b66h7hCriG1fAVXM9baYxHS+n/VM+Y4ELulWUcfqyAB1SNKfh4zNPzT0lWzwy8n7TT2bWqAc61hV67IUJcYwNlzSNXaPeaS482FuUnLTJUud5HMdvc99WIjWhc= 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:(13230016)(4636009)(39860400002)(396003)(366004)(376002)(136003)(346002)(66556008)(5660300002)(8676002)(66946007)(66476007)(6506007)(26005)(4326008)(8936002)(52116002)(186003)(83380400001)(7416002)(41300700001)(86362001)(6666004)(4744005)(2906002)(54906003)(6512007)(38350700002)(6486002)(38100700002)(478600001)(316002)(2616005)(1076003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: idL+Qd1+UUmE0tbgmOj98TH9+0h+d0KPXejbgN5dPJyjDVhSOMv+7Qxeimrp/F2A7Z+KRKIeaMeeKaHDcntdmizMTt9PBozymjQZzKRSdEMVQ105qarZVInP8s0en+mS1KzK/YBVSJ9sgkdN5M3sgDT2lJyJGXyDIRBls/pvz7ynY3qcXolfLcu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3Kh8hENcoMCNXXuypkCXQULDbBWf+jKzc0LCs+PmjedPnESTfANbTvqQjizZBh+i0veZNxJ7DoY1HE8Bw6+smkiOEvv/TwYpV1wxEcZ4OxQbIBZLojwwh0qWfPIqzv/nGLP6qwV2Dcg1neu46hKrKmxDL0WKqqPKcE429IkborhGF+vikw0+OncBe9nPoT3zZP/hYhGDAM09RSCXy/HP85iEb6I/5kWuGeatw3TVudUNyDDliwTIy11uUg5M5R/ZRNCFMWms6PDzPRQK1DW4eQYpMaDYXMt/SG2FDeVTsH4Tg3YI5AU0rF64JcBqYveVQ6QP3SAtsIYf9cA7aIsk5rw/OQ X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6d73162a-5738-4ba5-0f9d-08da6be18ae6 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Jul 2022 12:56:07.2711 (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: Y3HorSCMQFRTq1rSriMIblocXB6cbnmBoyOznHt+jIEFLjwnrsZoG7s2NPTkdioy23lU3E9YiVJB/DxRbJwKjA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB7633 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Peng Fan minItems and maxItems are set as the same value. In such case minItems is not necessary. So drop it. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Peng Fan --- .../devicetree/bindings/soc/imx/fsl,imx8mm-vpu-blk-ctrl.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/Documentation/devicetree/bindings/soc/imx/fsl,imx8mm-vpu-blk-ctrl.yaml b/Documentation/devicetree/bindings/soc/imx/fsl,imx8mm-vpu-blk-ctrl.yaml index 26487daa64d9..b3fb529b399c 100644 --- a/Documentation/devicetree/bindings/soc/imx/fsl,imx8mm-vpu-blk-ctrl.yaml +++ b/Documentation/devicetree/bindings/soc/imx/fsl,imx8mm-vpu-blk-ctrl.yaml @@ -27,7 +27,6 @@ properties: const: 1 power-domains: - minItems: 4 maxItems: 4 power-domain-names: @@ -38,7 +37,6 @@ properties: - const: h1 clocks: - minItems: 3 maxItems: 3 clock-names: From patchwork Fri Jul 22 12:57:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 592581 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B638CC433EF for ; Fri, 22 Jul 2022 12:56:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235339AbiGVM4f (ORCPT ); Fri, 22 Jul 2022 08:56:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235189AbiGVM4T (ORCPT ); Fri, 22 Jul 2022 08:56:19 -0400 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2075.outbound.protection.outlook.com [40.107.20.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A4B578EEC7; Fri, 22 Jul 2022 05:56:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WPPLfuL+XLL2z9hvFZv6d0RtUvjH9pp8EqkN3hCOdWZ8pM6Bgkte4qJqnA/uaNPZbx7X4/7Ge2PUxl+cx6UieSz8lGpv+7TZ1JCKedzOH6E7qDJTQ1Lk+ERxZ4QxEsbfgeBQ5xc6iInQdjWwdFkn/uzjG17UI3isAi/EHZEeBe1vy1HKrPxwWxJIYRsHLolODO5NA8J8Z6t4grIEimxOHQz3UK3ApghF4o584FvRoyFp1pu+t4bKhCNGBtGPhxycRIu5omkIDGJ714EP/FtBGbkQsz5mlg1PX+ARrMSR8AcHfhtinkXJ2dDH5FE4uAVVnsga0HWAe+vQft1QJLbZMA== 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=dhTaW1Xny6e/bRzpPamQ8D3YJtl+FsI9iZcFBdiOv2o=; b=DgmWIuxPj94Tnn9JKUGqWQ3sc2pJIDJYNaDyfGu/nke63gSco4xBWpgd9bbaT9AvWpLaOnuvo5YHcWFaCn+uawqLALyg009MinPGcMb7slInXkzSw/yKZaIGzbTR8IRcKbHiFO9ucMfedbwHbEYQW8BNtEt8uvBb7G0HM8UXZeRHSspuoNFGy8EWaPAA2qDy3e66Cpo82ZvXTM3Xx0Lgvt9dfeHRpbKgK7zf7WJ+T5k2usr6Wu5RRnGCwglAQFPpqcMKHV7lJ8Q/QlxB4EC3ZHqbSApJ/rsvfNV/965V+HMyw6+yLFSSflB06B3g+cor14Pe4l5C1wGSm0x83OFbsg== 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=dhTaW1Xny6e/bRzpPamQ8D3YJtl+FsI9iZcFBdiOv2o=; b=SFiPs7uIZGpOahei3oHBVPFJiWjev6BXNqUIXCGHeLeC4j0feyOCW38qp6IEmjkad6LDAc+8IsJ9WOVSih4SzgfOrZaTOwiCVCkSwo5XU19G4IfalP3C+NkSZNW3mX/zi4sRydOEdJ5YXxA/WATPr1fiJnSYmHKzRrB9p0YSCdk= 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 AM9PR04MB7633.eurprd04.prod.outlook.com (2603:10a6:20b:2d9::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5458.19; Fri, 22 Jul 2022 12:56:13 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::c0c2:ede7:3b85:1597]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::c0c2:ede7:3b85:1597%3]) with mapi id 15.20.5458.019; Fri, 22 Jul 2022 12:56:13 +0000 From: "Peng Fan (OSS)" To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de, l.stach@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, laurent.pinchart@ideasonboard.com, marex@denx.de, paul.elder@ideasonboard.com, aford173@gmail.com, Markus.Niebel@ew.tq-group.com, alexander.stein@ew.tq-group.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, aisheng.dong@nxp.com, Peng Fan Subject: [PATCH V4 3/8] dt-bindings: soc: imx: add interconnect property for i.MX8MM vpu blk ctrl Date: Fri, 22 Jul 2022 20:57:25 +0800 Message-Id: <20220722125730.3428017-4-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220722125730.3428017-1-peng.fan@oss.nxp.com> References: <20220722125730.3428017-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SGXP274CA0019.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b8::31) 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-Office365-Filtering-Correlation-Id: bf9fc75d-aa5a-4bd4-4370-08da6be18e55 X-MS-TrafficTypeDiagnostic: AM9PR04MB7633:EE_ 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: AkJS3ClvBLuUOl/CFc2SPkY6XbIkFMAWKE3iKRirZGakAyImqKCy1D/XG0W16GMjTtM5tSKVfCatn6uD4Ma/XQ5BVXzLE+tga0utVhL50+4c1FSst+v/VOV8kSsAhhlh3lKcgfX+Dz5wPE25ZZ4cIcuTU4P0nzr++mWH9IhCfzJVJmI0rKvft8scriBfJMEXyKk83ZBROhNhg7tcRmELRazprRvdn6dnSzjOk8krpUyFJSw3LkwbJAOEzwSkkzWI4aKhQ2YDlrDvTy7Fh/OzNHpTH92KMMi7cjsC/wfY5sBkq2RyrVbLhlyFyKw3ui85QSgrVRXyBx6NduxvEsU8O1a8hQyiqpX9I6kQYTd+vBMFCtRuif7Ts2g+Ys7Nwa8NLVabRX0T1RnT1GbyrkIGPmLdinhH42XmDHmE+2vhGg8MSeo/2Y+eyT875KuJ5ieh0RBeunOg+Z5OUvbFb/D2ewaz700RVKjdxcQrjE3JGu53zlbnLg8eHak0I1cBe/U3amml7/6AlrcMsGYqJDf/5/cO4VOYE023IV+lPg155lJ9EF5peo8dwa6t5wf4ZAu7A44wNjjBZMZChRipSStIxeDmaYevy3AkxHAgKszSM+P3AbNsMlLS7oWxJ1lJZd3WPh3sjGtiBuLstwggDlL805pVsjHARTs8J1xFqMor8Y4MjOvaTRicF2Pqk7TikBAy/WEzu3Ml+sRGbSY2oT3lE3ub2RYfeeXT2MQC3Xyrg3tANFxub3aWrRqsHpYrmkl32pgncklelsS3JcPjzLMHV4dYjWT0h+LtwLXisbUiTUTmLMilT96f4JtjPxN6Si4OpawjofL0efrtJFZ8gpBfvS5U05EncZqiAlE6OGJZkTI= 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:(13230016)(4636009)(39860400002)(396003)(366004)(376002)(136003)(346002)(66556008)(5660300002)(8676002)(66946007)(66476007)(6506007)(26005)(4326008)(8936002)(52116002)(186003)(7416002)(41300700001)(86362001)(6666004)(4744005)(2906002)(6512007)(38350700002)(6486002)(38100700002)(478600001)(316002)(2616005)(1076003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: aG8mtIGi0k7Mi3h/t+d6K/KNG6m9t3rK1Dvm2FYKNPqiw1mGMDaxVnMaCgo4V8WhbCe0phFj3qjLoFXJ7oykNT6/MHN/c0IQNf65607rJJexvnXoZ0fqT0U0t1GUqIjaiyn0Iki1n6hN9Eb2XAWRhWkp2sSuQdIFDZBaIW+s+4ebcIPI1JfVjUGMzWNtmNWcJn8IMbEBmcg89jeQRo8wwzpc29Nr6cN+CHrGXXvP/6xnIIgCxAT0w/xDWVtaa8jRvQhfGSk/c1i8h/xblJQ8dntcAICA7/M4ZnlrOe+imNuFoAVU8R3BQWhscqFlAi5KFm2r4siQuDbqBmqeAhmt6sMCIUFsK5g3x265dvtxzUPPG1IYeLi/bb/OOHbZKZCnVsSfohZjLpXq2euStIrYIvMXdsKZh7Q2aF02mNrqGx4vDoZrRM+/2zgXQUT7RjoKk0sjRVOs9Madih2htANdJzlkVYwNpb/aHZIfE+qiBb3tKkWZb/12dtmR1aXByM4jJnSjR35SeAfcrSEUIRroT7oW6aD1dDLU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g: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: bf9fc75d-aa5a-4bd4-4370-08da6be18e55 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Jul 2022 12:56:12.9080 (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: kuVKLj2hXQ43M1fpniAkHoBl5FH+XIq+cAVqpXIDpCE5unTGOBpreaKzy5F5ytcvSK2NxyxZp1g54FAzzrk4hg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB7633 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Peng Fan i.MX8MM VPU support NoC QoS setting, so add interconnect property for i.MX8MM VPU blk ctrl Signed-off-by: Peng Fan --- .../bindings/soc/imx/fsl,imx8mm-vpu-blk-ctrl.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/devicetree/bindings/soc/imx/fsl,imx8mm-vpu-blk-ctrl.yaml b/Documentation/devicetree/bindings/soc/imx/fsl,imx8mm-vpu-blk-ctrl.yaml index b3fb529b399c..d79e5d2634d6 100644 --- a/Documentation/devicetree/bindings/soc/imx/fsl,imx8mm-vpu-blk-ctrl.yaml +++ b/Documentation/devicetree/bindings/soc/imx/fsl,imx8mm-vpu-blk-ctrl.yaml @@ -45,6 +45,18 @@ properties: - const: g2 - const: h1 + interconnects: + items: + - description: G1 decoder interconnect + - description: G2 decoder interconnect + - description: H1 encoder power domain + + interconnect-names: + items: + - const: g1 + - const: g2 + - const: h1 + required: - compatible - reg From patchwork Fri Jul 22 12:57:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 592994 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7D35FC433EF for ; Fri, 22 Jul 2022 12:56:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234368AbiGVM4l (ORCPT ); Fri, 22 Jul 2022 08:56:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42100 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235257AbiGVM4f (ORCPT ); Fri, 22 Jul 2022 08:56:35 -0400 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60084.outbound.protection.outlook.com [40.107.6.84]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58F68A0B85; Fri, 22 Jul 2022 05:56:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ITjLvPdX6Xdt9A1x/RNFCF+z1r5AJSzVZ3SNsOcDCKRJMMjyxc2A4ILiOu/ZgUGrFO85NgCQkWv6U3G+z+sq/Rh2UXYk4wSkdLW6Sg+YZZXDlXcsyfdP00D93vgqOT41Sv+4GRlSJhEwPe8MansKh+Dfcpqb12DbSIio0ALj2f93GZzPylNsx+4Duf33WLa1U9eMeZ99l0Rr1Lyh+TwxSoncui+Xy2b+onsN26HcGzv8ll9WIPda8BJR5exvPXaekbLeSa++BWlD9L8o3fZC5o95NHdGQDvzAaYCqGBvmBfT7B/FY348Utd/8Ta3oLwqj6+SFJr3p0XpS0TDPHk2wQ== 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=0V0xo7cNM5mox/SZPLO9GcfyDPaEBjyglPFVy5CgB1A=; b=MqR1jhXDAHWDZTijETXF63BPDzLGCmK4G2AIR8vNV9o1bVrHcC/LRAv68sX3rZ/yieolS/TWHoQmXjuhBiHh7fIM42mFEylvyAhJtW6ia4uf+GyhiVfT0t8ZmbpFcNlQb2yRnKwCORcUvTegOZ8HV+dl88c2yQHRuzUg4tZCE5g44hmiw/fa1iDgmXfyPt8n4k8ELM8MnVnvQaXnwAMHnn/9/5+2/NMgTHnzrWLznTX4femYmR9aA0E5O4QdqvVNVfbEAxSgjgdmZEozwg4jH9oYshqSTWuAQPp7ut5mK0OViYDDsrT+UwlKds1BoffRQifvxSLBwM7gWc+83RXYYw== 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=0V0xo7cNM5mox/SZPLO9GcfyDPaEBjyglPFVy5CgB1A=; b=ORyuTbO6ggulQmf/AB25l8nZHX7T3ZC0jjRA00wqZiHvB7g+aFnaArpa2IsLDEfkxiSpJ/XYu0CxVgKZUZFywTzKwuPNO42px2A1/WaXuf0ViPgt8vtP44G20t4YENj0EzguR39HjJSffI20mjPfP1XL18o15ZktnRLqZJVELeY= 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 VI1PR0402MB3565.eurprd04.prod.outlook.com (2603:10a6:803:12::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5458.18; Fri, 22 Jul 2022 12:56:18 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::c0c2:ede7:3b85:1597]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::c0c2:ede7:3b85:1597%3]) with mapi id 15.20.5458.019; Fri, 22 Jul 2022 12:56:18 +0000 From: "Peng Fan (OSS)" To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de, l.stach@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, laurent.pinchart@ideasonboard.com, marex@denx.de, paul.elder@ideasonboard.com, aford173@gmail.com, Markus.Niebel@ew.tq-group.com, alexander.stein@ew.tq-group.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, aisheng.dong@nxp.com, Peng Fan Subject: [PATCH V4 4/8] dt-bindings: soc: imx: add i.MX8MP vpu blk ctrl Date: Fri, 22 Jul 2022 20:57:26 +0800 Message-Id: <20220722125730.3428017-5-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220722125730.3428017-1-peng.fan@oss.nxp.com> References: <20220722125730.3428017-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SGXP274CA0019.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b8::31) 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-Office365-Filtering-Correlation-Id: 484aae72-6ed2-4573-2caa-08da6be1919f X-MS-TrafficTypeDiagnostic: VI1PR0402MB3565:EE_ 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: 4tpNuJAjPZUldhmy91/yPRTKXA4y8MUy74OzoFVOU7YGrK3IeWzWnUzIGSTokfi3bBecMWDBQlp/Fj6jx/8T7CJhxl8rVmE47CngCUh5TaSrv84igobsu5qkChD70yYY13Tfyfnix7y3hFLipE+P/0wYZiR34JT+6fYUVhBol1GQRvZxiNGd2mrOy8WATW75y+SCB9tDWwrapzkuc0B4svBhpiCNvX+hBSTSWHi90gY87CM7YUHeCE9btXaKvjJ5PqmGFu5320xAhwyFoAFjxfQisEKp2Pjq824KVYsdSSnqT0+d8ieBff9OTcmzMzgnNE9dUjFPjSIfW4ZGpCMeMABDinfey3FUPyrDm/f+y0LAGGlP9pQH6R/G2dvpSfn43CFuD9ZZX+D93RFZNtQvrbZ9Q/A6U4hB5RpfDEDYzdWjRA0sfHPk3pKsqkILjBA/TppwlVyQerK3HU5OLWCgj+Mnw9xG6UBrgLb8vA7CZtHhX0yGFICDFZR73CcuMt4ss4n5rSIq7Jk/KVhB5pY1a8/vwvVxX/ez83nj/0WQWSVd6MZaLIdmlJ/vcm6PkZmQjNf4UPBrtkkr5ZoXr3igXMpWAiDI0hVijnMp3781veMCmf36ISB76Sk+5lFJ+KBuIFYP78cOylO5+nSqqfQk0p2OX7weARna0FTFekiPXNBkSPPQUH5LlVubB5YPRC7KlIiY0myzJ3bTFAuYJrPfVYWwUIwgMUcpIu3LFbpdLvl3e1tMQRdL0i/2WPWBEU0FGscQlzj0jwd5TQqCECjvN279wR7B9KU32W6e1j64YcA= 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:(13230016)(4636009)(396003)(366004)(376002)(136003)(346002)(39860400002)(2616005)(186003)(1076003)(26005)(86362001)(6666004)(38100700002)(6506007)(6512007)(52116002)(83380400001)(316002)(41300700001)(66476007)(66946007)(2906002)(38350700002)(4326008)(7416002)(478600001)(5660300002)(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VphU25USCJVcTWzwwyOzoaV7EmzYgNewHpgLAMWY8Hh8+QQmzEOD7A9IVkbiDTYgI8MfOLXx3FuEy1R3V9+HC9nQuzRU5fESzwXX2hxk5uY9+FHPfRyDG0cUCduyVoi0HsPSLGt10jV8U1NBgky3d9BH44sKNfVToV4hiDqpkvaEr4mmYrGnlwd9CdfeYyi1G95965bIUL+DRTuYPj2yGZsjpJDIzWfK4ZPQUEI0C6dFGzYr0K70ojcQ/chkH5vvA489iP5F6v5RzUR46+eGGaEP8ZIF16qazy4vc5/bXIUOCmyZPZ35tMDo5sF4q6wUxE5dtA4V4PrTZxNcnf1Bzff6TPlyNPfzGsuKhgHpBtPX4NsEvgxjwqL/GgUXJFMoM1hlOhXyEX5MuokYcTXHpiaKpRTAKO47gpei0suqBE8Wom3nT3wmACLqtMRVOW9gLgdBIXXW/n1Z+3THgz4Lt4zIm/7e1r7ZeHc1PfXmJHc2eBmdTgkzqcdxBaWUZ6ZmyniYXm3pHNq4ZI++iPb26f07QX4w3yr8ZthcgKHPdSgFnQKaU8wyFOHPedFTxCcPhcw2UB29CnTc7Wz9XXkPNk8MtXslo8wewXsEAlAMz710X3oX8 X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 484aae72-6ed2-4573-2caa-08da6be1919f X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Jul 2022 12:56:18.3318 (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: dUa/MfnM2tOLPOdEs+f4AXAv4PpvXh+LN0lZ7dbobwVkKpKkitRxRH2dVPquefSsYfW6h1CWVW8dtJgFUpbsPA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB3565 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Peng Fan i.MX8MP VPU blk ctrl module has similar design as i.MX8MM, so reuse the i.MX8MM VPU blk ctrl yaml file. And add description for the items. Signed-off-by: Peng Fan --- .../soc/imx/fsl,imx8mm-vpu-blk-ctrl.yaml | 112 +++++++++++++++--- include/dt-bindings/power/imx8mp-power.h | 4 + 2 files changed, 99 insertions(+), 17 deletions(-) diff --git a/Documentation/devicetree/bindings/soc/imx/fsl,imx8mm-vpu-blk-ctrl.yaml b/Documentation/devicetree/bindings/soc/imx/fsl,imx8mm-vpu-blk-ctrl.yaml index d79e5d2634d6..d71bb20d4907 100644 --- a/Documentation/devicetree/bindings/soc/imx/fsl,imx8mm-vpu-blk-ctrl.yaml +++ b/Documentation/devicetree/bindings/soc/imx/fsl,imx8mm-vpu-blk-ctrl.yaml @@ -30,32 +30,19 @@ properties: maxItems: 4 power-domain-names: - items: - - const: bus - - const: g1 - - const: g2 - - const: h1 + maxItems: 4 clocks: maxItems: 3 clock-names: - items: - - const: g1 - - const: g2 - - const: h1 + maxItems: 3 interconnects: - items: - - description: G1 decoder interconnect - - description: G2 decoder interconnect - - description: H1 encoder power domain + maxItems: 3 interconnect-names: - items: - - const: g1 - - const: g2 - - const: h1 + maxItems: 3 required: - compatible @@ -65,6 +52,97 @@ required: - clocks - clock-names +allOf: + - if: + properties: + compatible: + contains: + const: fsl,imx8mm-vpu-blk-ctrl + then: + properties: + power-domains: + items: + - description: bus power domain + - description: G1 decoder power domain + - description: G2 decoder power domain + - description: H1 encoder power domain + + power-domain-names: + items: + - const: bus + - const: g1 + - const: g2 + - const: h1 + + clocks: + items: + - description: G1 decoder clk + - description: G2 decoder clk + - description: H1 encoder clk + + clock-names: + items: + - const: g1 + - const: g2 + - const: h1 + + interconnects: + items: + - description: G1 decoder interconnect + - description: G2 decoder interconnect + - description: H1 encoder power domain + + interconnect-names: + items: + - const: g1 + - const: g2 + - const: h1 + + - if: + properties: + compatible: + contains: + const: fsl,imx8mp-vpu-blk-ctrl + then: + properties: + power-domains: + items: + - description: bus power domain + - description: G1 decoder power domain + - description: G2 decoder power domain + - description: VC8000E encoder power domain + + power-domain-names: + items: + - const: bus + - const: g1 + - const: g2 + - const: vc8000e + + clocks: + items: + - description: G1 decoder clk + - description: G2 decoder clk + - description: VC8000E encoder clk + + clock-names: + items: + - const: g1 + - const: g2 + - const: vc8000e + + interconnects: + items: + - description: G1 decoder interconnect + - description: G2 decoder interconnect + - description: VC8000E encoder interconnect + + interconnect-names: + items: + - const: g1 + - const: g2 + - const: vc8000e + additionalProperties: false examples: diff --git a/include/dt-bindings/power/imx8mp-power.h b/include/dt-bindings/power/imx8mp-power.h index 14b9c5ac9c82..2fe3c2abad13 100644 --- a/include/dt-bindings/power/imx8mp-power.h +++ b/include/dt-bindings/power/imx8mp-power.h @@ -52,4 +52,8 @@ #define IMX8MP_HDMIBLK_PD_HDCP 7 #define IMX8MP_HDMIBLK_PD_HRV 8 +#define IMX8MP_VPUBLK_PD_G1 0 +#define IMX8MP_VPUBLK_PD_G2 1 +#define IMX8MP_VPUBLK_PD_VC8000E 2 + #endif From patchwork Fri Jul 22 12:57:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 592580 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BAFCAC433EF for ; Fri, 22 Jul 2022 12:56:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235367AbiGVM4w (ORCPT ); Fri, 22 Jul 2022 08:56:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41310 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235368AbiGVM4g (ORCPT ); Fri, 22 Jul 2022 08:56:36 -0400 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60084.outbound.protection.outlook.com [40.107.6.84]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A4513A8961; Fri, 22 Jul 2022 05:56:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YLnfiyZ2P2AZnwmiUktIv7uuAdPcmUkNNnz2jRv+lN7d1ywYO5IOos8OV1eqMXoc/FBzUsAl8LJbB95aHEr1BcS8AxTpu4XCOy7PJZtMbck0TAUMSBy+ZwWcaRxkZ7FszvNkwMvPh1FMp1oq7RoJX0q6rccZcvw2o5nL8hzwx2qpwLo5YdZ5jcAuY5TClVWZwZ4T/E2K5JcfoLDCsyMPzO12/ki8d64GHOvYf8PoXw5uldJAGPqRzMeqw1SCIJBUxidA+YG6U75IMc0d2uZ5GjTRgKDHyPqB6f1fv2Z9EqKBiV5tFHIIa+ItiypkcT0qaiGGP6fVIB81pa00UJIKSA== 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=N3k4eqTbwfQlhfZty7gyIvUxvIQVou/wc+Y872Qm3Mk=; b=EdQGXaDRhBDc/kQaMkSzEhFnfxI5TRQl7ljgGBLwQCi/NBUoYn5K5M5v7FnBvyGhjvh4rdNKBjKmtU7LS8TCHPY1q8cMz+XJ8dIV4jKyLJ1fRrmrifrKMgPPI+QYTv+2MO5f/lAY8Rv9qvlT9B/Lv4uHSTfCUhkQMPb9Lawb8WEld2+b8bsMYr5xe1Ez44KeOhIvtbvk7jzxyVmV8pQm35PYUc58jxvfWSZvithB6VEmQ282T3mKExCyJoEjABwMqdXRMRSxvSPAkEe1RgyHDBE8iMe/aYrpAA8HPcp8dbxyG3YQgxQkrMl5XxFIYUc/y0b2q4Omhl1LQgEfxFDpFA== 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=N3k4eqTbwfQlhfZty7gyIvUxvIQVou/wc+Y872Qm3Mk=; b=YerYeIRQLRauGt62huGIuq4drU9IkPr41NyEGNJvGXCfcmyemdixr65DmXe+IvHT60EHLS9piggds+AeFb4utltcicGb5iPNDpB+qcVWPWbCHTamFrL/v9u2APU7quHgg2yHXuSk62pBpNc6KwpRUjPb1H8pXVfUpGtjBezlt8U= 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 VI1PR0402MB3565.eurprd04.prod.outlook.com (2603:10a6:803:12::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5458.18; Fri, 22 Jul 2022 12:56:24 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::c0c2:ede7:3b85:1597]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::c0c2:ede7:3b85:1597%3]) with mapi id 15.20.5458.019; Fri, 22 Jul 2022 12:56:23 +0000 From: "Peng Fan (OSS)" To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de, l.stach@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, laurent.pinchart@ideasonboard.com, marex@denx.de, paul.elder@ideasonboard.com, aford173@gmail.com, Markus.Niebel@ew.tq-group.com, alexander.stein@ew.tq-group.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, aisheng.dong@nxp.com, Peng Fan Subject: [PATCH V4 5/8] soc: imx: add i.MX8MP HDMI blk ctrl HDCP/HRV Date: Fri, 22 Jul 2022 20:57:27 +0800 Message-Id: <20220722125730.3428017-6-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220722125730.3428017-1-peng.fan@oss.nxp.com> References: <20220722125730.3428017-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SGXP274CA0019.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b8::31) 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-Office365-Filtering-Correlation-Id: 944ec217-a118-48ba-b641-08da6be194dd X-MS-TrafficTypeDiagnostic: VI1PR0402MB3565:EE_ 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: fNpSMQ7lmACtxhUZNNQmwaByFFjYSKbP4osyU+YvXSQ7W7MYJ+3/WfNHUwuxZU8qQp1Feavy9s4/Tv4jPDJH3VMiUtwCTEMrMM5WTZi1AIgPCjoXokrczR00Ueo97aRE9jIPb0ru7JrSZ/sJe3lE9+9rjrVoJj+JdIT1ytlOkRuej4iuvcLP43sB7hjOUghsj8tJvi5nXXnStrWZisQK8Bf2AT31w6zz4goORqHfJ0saQrW6QsphQlDvoge5ngSZpb+LDEgNeQjJZVJN87IwW4WDnxR8jf1SoS2lwA4EXI1ptkIkd1DC4xERcDasiilK3EENUirccwa2JhvByI2sHRrYJBi6YHAzZsWkwpMv02XTD7Jw7Qv+QM2S1fyMIWqMNMCY61L942d6x1yJ5FNlIEXIjHEvmDZAlHOymBXTFayaZEDRS7d6LsfQvD+YpyMM4DigzfxvhRBgdWeNEMCVT04jZPMQ1LnCmZwF2hxPjL4pJqAeLaaF0nrS+Fpgo3dj4wWylHNR/vELk4+blmo2YSln5KFdfmueiaRBNyVY37GjoqXm3oWaz7pcS44l0b6ucor874dQE0GF3l7b5OrCXiocshCTtc3Qqasn953Alwsscm01YMenH7WNG6hsvQXj66r9gdP1LPCL0vfL5B91WSBcZFkmqxnv5v8V3KJII3HVoqELDMEyt/V5q1cao3jtNttd63z2C9EXvr8yJhAXWieSiqa6QfXJJ955piSDqAWF0MjdyU/Bih0WhTr0smHB8ZqZEXYRkMw4AeZmVUm36NW19pwFKJRumd8hyrczmRN36G2d4rsw29GBF46QxLyD 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:(13230016)(4636009)(396003)(366004)(376002)(136003)(346002)(39860400002)(2616005)(186003)(1076003)(26005)(86362001)(38100700002)(6506007)(6512007)(52116002)(316002)(41300700001)(66476007)(66946007)(2906002)(38350700002)(4326008)(7416002)(478600001)(5660300002)(8936002)(66556008)(8676002)(6486002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: qCS8wt/t6+EclXbzXcOMQWY4KJHsejuC4hSemG+NyqII30wDKMhchWIR3QsLL9vveUwthlqxJKyfJyv6l12pO4QCY0PkT1PbKi4/VoE2ftYQQT33u6ZP7bC6CgPFR7ZFN8qORVfaaC5it+mM5ZGgcny0Rxp+Ik/0oiHvb7qY/If85sHTPv/WITaHFRvLJM+TO3Q8og0L0yq5xA/LMcp/3ZHuoIIdunWLLUQL79zFjoPCnokV/LvXKlcphqVN03XNXyMe4a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LTc7sxkPqcLEHhkOUstjviG8MCQYBVzfXiwtAgrcPeENRh+xCA9AON1EhCBFPiPhuuNWdiSi59iWk3VJQ71+oEfNwR3kWpBi0pFZQX6CNsOqz6blQ8/KCxbfkRW5W9XXt1YCqkiPjbhjqHqoK0HxPEyXrzHjKE/jLNk5G1Mbia9D3tPNKKNou+UC8dYEarFkr5Vny+KPuQU4E04mI4Njgj5nu0BWTtrIUNjTp/nhCYhA41e5HxkLRpugCrugi7i58S85OR1Rw X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 944ec217-a118-48ba-b641-08da6be194dd X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Jul 2022 12:56:23.8373 (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: alf6msfY0q0WoHsJrBTB9Y3t3Xk7xFSL41Xyx+djy1igzTKmDjoN9pbfI5VrkqiBpRkzgLvhSv266xGFpl1xtA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB3565 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Peng Fan i.MX8MP HDMI supports HDCP and HRV, so add them. Signed-off-by: Peng Fan --- drivers/soc/imx/imx8mp-blk-ctrl.c | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/drivers/soc/imx/imx8mp-blk-ctrl.c b/drivers/soc/imx/imx8mp-blk-ctrl.c index 6f983adcb47c..527d45d12a54 100644 --- a/drivers/soc/imx/imx8mp-blk-ctrl.c +++ b/drivers/soc/imx/imx8mp-blk-ctrl.c @@ -235,6 +235,13 @@ static void imx8mp_hdmi_blk_ctrl_power_on(struct imx8mp_blk_ctrl *bc, regmap_set_bits(bc->regmap, HDMI_RTX_RESET_CTL0, BIT(12)); regmap_clear_bits(bc->regmap, HDMI_TX_CONTROL0, BIT(3)); break; + case IMX8MP_HDMIBLK_PD_HDCP: + regmap_set_bits(bc->regmap, HDMI_RTX_CLK_CTL0, BIT(11)); + break; + case IMX8MP_HDMIBLK_PD_HRV: + regmap_set_bits(bc->regmap, HDMI_RTX_CLK_CTL1, BIT(3) | BIT(4) | BIT(5)); + regmap_set_bits(bc->regmap, HDMI_RTX_RESET_CTL0, BIT(15)); + break; default: break; } @@ -283,6 +290,13 @@ static void imx8mp_hdmi_blk_ctrl_power_off(struct imx8mp_blk_ctrl *bc, regmap_clear_bits(bc->regmap, HDMI_RTX_RESET_CTL0, BIT(12)); regmap_clear_bits(bc->regmap, HDMI_RTX_CLK_CTL1, BIT(22) | BIT(24)); break; + case IMX8MP_HDMIBLK_PD_HDCP: + regmap_clear_bits(bc->regmap, HDMI_RTX_CLK_CTL0, BIT(11)); + break; + case IMX8MP_HDMIBLK_PD_HRV: + regmap_clear_bits(bc->regmap, HDMI_RTX_RESET_CTL0, BIT(15)); + regmap_clear_bits(bc->regmap, HDMI_RTX_CLK_CTL1, BIT(3) | BIT(4) | BIT(5)); + break; default: break; } @@ -365,6 +379,22 @@ static const struct imx8mp_blk_ctrl_domain_data imx8mp_hdmi_domain_data[] = { .num_clks = 2, .gpc_name = "hdmi-tx-phy", }, + [IMX8MP_HDMIBLK_PD_HRV] = { + .name = "hdmiblk-hrv", + .clk_names = (const char *[]){ "axi", "apb" }, + .num_clks = 2, + .gpc_name = "hrv", + .path_names = (const char *[]){"hrv"}, + .num_paths = 1, + }, + [IMX8MP_HDMIBLK_PD_HDCP] = { + .name = "hdmiblk-hdcp", + .clk_names = (const char *[]){ "axi", "apb" }, + .num_clks = 2, + .gpc_name = "hdcp", + .path_names = (const char *[]){"hdcp"}, + .num_paths = 1, + }, }; static const struct imx8mp_blk_ctrl_data imx8mp_hdmi_blk_ctl_dev_data = { From patchwork Fri Jul 22 12:57:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 592993 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 51CBEC433EF for ; Fri, 22 Jul 2022 12:57:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234933AbiGVM5C (ORCPT ); Fri, 22 Jul 2022 08:57:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235402AbiGVM4i (ORCPT ); Fri, 22 Jul 2022 08:56:38 -0400 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60084.outbound.protection.outlook.com [40.107.6.84]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C08389A67; Fri, 22 Jul 2022 05:56:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=brm2RfJeaUnQZBbdS69WwbF2TyYWAGx1yAa9kgrng1bRw5SCqCq6Xlq3EtLL3C2RVjDVPG+EonlCTy3mxFBsdIghMe6uhrDxYS4DA8gHZyjZTGnrFt+jcQLdjYMhBlIOeNpki+cu/jL9bd+4f/Kc1Da+8gHEx2ZYK4F4VHu4eOAxQi4qbn178QuFeHo+fVW5SeVC3o/rop1BpJhWZe03fJG5bE3OYBBkmx/gJuAnfR1+cfoG3jkyVu8G47HweuvXFUjDKaPD5dAA8kHyYEwKAWHOEgQMeSxjwE0dv6hQv7KjCdEEdfRLs6wOLJBdmr7clQFH8gP2nF25wNjySbahJg== 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=EM365LBdpNUJ4DBMcCB1kcUJvlq3cWNvwwLGwAFk7l8=; b=Tr9BBwhBUGPug11M2I22PSQyDL1uS2egi5xyvgDPBD9fkY9WvrYIMO78gIbentmv5flfJF048gv2xaI41s8CkKyE6a80wGP7QvNN3P4l/bWL0hf1TaWtRRqaAPXK2E2B+DnZTxVHXbmWKdIZZGjz0P1uebAXhMmS+FljByyNdBzyQgIb9EmD7yrA1u/5SCmzT0AOYKg9GrlBSVgHoej5ohxXUVhVxKj0WF+5OkjKrXEIY3e/tT92jSpO++9BAcyPYHJHG73dDfr6umsCbSx/fi53Lz4Joup0xoObAUfJkkX2fHCm4C/Kh1PUJqmBLHlOopIP1YjOUXc8GZ2fUGK5vg== 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=EM365LBdpNUJ4DBMcCB1kcUJvlq3cWNvwwLGwAFk7l8=; b=O6duJ16aO3KCVMiOaDnbkdhTel677u+0hL3Kw3oe2Rd86Pe8Bk0bdBCARa3Z5XsamGIJpKno6U8GHC26JweRsWBo7Ue1JrbRqH5+PfSnZbIVTN9C19Xq0xpDGCUG5O4MUxZvqYpmYi49zhn0noq7F1yWQt9aFWN6XXDA5EvZ2Ew= 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 VI1PR0402MB3565.eurprd04.prod.outlook.com (2603:10a6:803:12::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5458.18; Fri, 22 Jul 2022 12:56:29 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::c0c2:ede7:3b85:1597]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::c0c2:ede7:3b85:1597%3]) with mapi id 15.20.5458.019; Fri, 22 Jul 2022 12:56:29 +0000 From: "Peng Fan (OSS)" To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de, l.stach@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, laurent.pinchart@ideasonboard.com, marex@denx.de, paul.elder@ideasonboard.com, aford173@gmail.com, Markus.Niebel@ew.tq-group.com, alexander.stein@ew.tq-group.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, aisheng.dong@nxp.com, Peng Fan Subject: [PATCH V4 6/8] soc: imx: imx8m-blk-ctrl: add i.MX8MP VPU blk ctrl Date: Fri, 22 Jul 2022 20:57:28 +0800 Message-Id: <20220722125730.3428017-7-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220722125730.3428017-1-peng.fan@oss.nxp.com> References: <20220722125730.3428017-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SGXP274CA0019.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b8::31) 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-Office365-Filtering-Correlation-Id: 79f3981c-8f96-42b6-a4bd-08da6be19822 X-MS-TrafficTypeDiagnostic: VI1PR0402MB3565:EE_ 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: SQJyVjFbdAmYm+wVaQqb0OZVtznwiwq07TsW5oYgcNUc+OpNqPB9mAQvpVnHbf2u9CREROZkr8V88t4treQMeL1pEYkOkuLlqj7sQmUM2JCp7DOy8OpuCkMyTtca92wgGXPwV71QoUa+PLmvWswwmzgzoGr3FcqTsB9qqbNjGS1wuRDRdsDbJBF9GFTywThJgZzCudhbcv19p9Y6tA223yJlVbxC3WbQQg3jpUj41D/wcZFUMpVGD+ZWGrQsZ2PVmIAwUSnI8MnGdAUtn5LfH4honehQgVxwdmo+Fn1GawV0U7n0lmschiOVH7iLadBKfrSt53CYaf6+rqXJWauqRxV2oSbbBEF2y2IkYLoRH777pp6ajjZlnxwxp9qxHGlVcjfdOrD3+9Rt64dTpfFuHrX7AdZrtyW+SCPkUa/aaLXoBQax/EglbdrCn9CTdnK22DXWbbID6ngZl2JlCJoE1gBOMTMVaosF9jHtDDDD/hIOVJOQBEjaGHIhu/5MLSrGxTzDBcgpjl3NfsNzar/DPwkX35hoCSXWy0Drb5mYZEQMdVyZQSxB3iBXuXj1Ooma7e2NzuNhibkKlcq59OoyLukEtDPf0n9DVwuQdILninX8VcqIPX2es/A/D3RYmOhnhKRw0TYQaxoJhOie71OvvXFOzNm4R5rQNuDIdKUcWf4TKcmtkQM/5wNnrGDfqUJbDOqcYphRNLMjxclvkxDJ3Q4raV3JL2NTzzCWaPhhhDbO2tK9x7a0NY/QbQgNIuRUGjUa3JkGxWoz/ZWnFy8sPzzrVaquga+RpwBFI8aRT1JGwoyVKr0c8cTirmuOx1bSOP9VM45zUOfkOxWtoh9Bww== 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:(13230016)(4636009)(396003)(366004)(376002)(136003)(346002)(39860400002)(2616005)(186003)(1076003)(26005)(86362001)(38100700002)(6506007)(6512007)(52116002)(83380400001)(316002)(41300700001)(66476007)(66946007)(2906002)(38350700002)(4326008)(7416002)(478600001)(5660300002)(8936002)(66556008)(8676002)(6486002)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: U0e5aQbb7SYn/jUj8bmZR9ppd/v/7P9Bu/xYzvqin2fEm3moIvUcfCVMqUDtayomn68w6iu52hZ6v9eHW/MIFfgHN2oBV8HwiP5jciIHHSXI62+8//37QCw1QaiN5LtO5G62j/sEPfR4GMUpYTw4OkRxS9D4BoaC2pOyuDg5tY1/1H/W06UwJyqb1EkUb/+sBuFVoWm3GJY2r/uGwonrRBjNihRlTNv0w1OWZSmUx34SqK5wDz6/manVl+4XZY/o1FgBqtSmOOcLBBIciSxnChSHxWOctkjstOkuipiBuQnF0Z8yqfkTS+87/Cjx0/aym0Vkp0WmQLn+wyryUEsllWSxXnKeHqRkK/zqiOdyv7j7S7ws8nyKIga8zao61z9tfCADZuJZnUqPU7LsYowE7xSTJzKlkyzRA4YB+dc3PvIjW/E6ltBlgfeo63B+eKjNTK7jwG6oKr5TSCmk2L0nAqhzK2XDpkW3W7hfyr3bm+GCvj4CWCpN1vu30UIc0VEqPALxuGAVEq64FNv/Ro+/Kp9imr7YAac7Hn0v/mTAfPvhFLjyMW7hEKJSS71HqBMC69CH5XG++wvKp0AhCGw8fKSTMENKUeZfM2j8FVdyjsXMPVjWJ4/HeYXyl3NrqRPM5qlV2E/5MaOPZTJnRFOMMkFhSqIV0+B0TDZ72XKmeJT/LugOlf7B6cX2yf9tHUjD2RjMw+mfAgKAN7myOBHNrjPodOcTcq2/1tArDxI9VPun45C/eMg0EYEpQyZpyYzNdznRxrRO0dAulRt6Fjl5mLgbttgB3ZYdrslYT/OzrDbyN0A6wYSMbsXC320+hIqis4NTdWavwdUW4A2In7vZBKwHsSwQaeM8HGHyPv+vw9AG7kKtwZVb8GUfHsssYFQUvgDBFCWdSZpR8agaLqqVZ1O7OFwbWf1ZVLh7+FURr/n+xF9LGiIz8vNAZIEBojUwUx/VNjd/CdjL8/XNlB305ZsrPbzimOKd4SfnYc76Fcl/dO7HWTWvA3TnmMb5301rtQxuynYPdMvOTuis45443bJKeKTXF1Dnyiwxvf142KdrorPNs83O47DcSNF0qCyF1NsbWgEa2A/B98jqXkoovXGwvb83e/HNM08V6KQ19EcAK67nSn24JF8Wn6CHqSc0dDEIFOBveJjH0KvaMwNf4dZTDE3QgHTWRB8EUV4v1GqxErZ+99CeK2spAPCpe8PO+Kq49No+G7DDRy57H6JVdTOSY7KLrFvfQ9aiR1ReRAX2Y/sD5GueRFvEgcwS4TbZQv15oTjk379xLzl0JMFvIA/Jk4AiOnP+g4VK+Oj6Kzy/V9x+KqyV/QzmYfCyp99nSotDZdWlbZPodNqa83mR6WBd2sfvLFMiwJkkGy8diAZE8gm6JVzXYUiBOym71KB3r36uC4yLEWMEsW5SbVJIJ28L2WEPg4F7yxyY6DVy29O5Ygh19MwKv80ZNvUE2ZN6l9RlCHrUWkYEAGB1BdZwPmVaBzPPnqhibxcli9Oj850p3/7hBNMc/+/ct7c1+ApucU+FC+BcwSWBET4M9pvfUSjx+BMeRFFxnqFKDkNB/Y6Q1vRn8uC1tN285ekLWnB0 X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 79f3981c-8f96-42b6-a4bd-08da6be19822 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Jul 2022 12:56:29.4642 (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: yh/RCGdqKQgY2b4mAbX3Tqd9EKdBvWt2jX3Wmaxu2CFv7TFgPa1xHULwQNhflZmp3/S5EWVkyieG0zcR0HUnPQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB3565 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Peng Fan i.MX8MP has a VPU blk ctrl module that could supply clk and reset to VPU, so add support for it. Signed-off-by: Peng Fan --- drivers/soc/imx/imx8m-blk-ctrl.c | 43 ++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/drivers/soc/imx/imx8m-blk-ctrl.c b/drivers/soc/imx/imx8m-blk-ctrl.c index 9b0f81dc292b..871a387c6b41 100644 --- a/drivers/soc/imx/imx8m-blk-ctrl.c +++ b/drivers/soc/imx/imx8m-blk-ctrl.c @@ -484,6 +484,46 @@ static const struct imx8m_blk_ctrl_data imx8mm_vpu_blk_ctl_dev_data = { .num_domains = ARRAY_SIZE(imx8mm_vpu_blk_ctl_domain_data), }; +static const struct imx8m_blk_ctrl_domain_data imx8mp_vpu_blk_ctl_domain_data[] = { + [IMX8MP_VPUBLK_PD_G1] = { + .name = "vpublk-g1", + .clk_names = (const char *[]){ "g1", }, + .num_clks = 1, + .gpc_name = "g1", + .rst_mask = BIT(1), + .clk_mask = BIT(1), + .path_names = (const char *[]){"g1"}, + .num_paths = 1, + }, + [IMX8MP_VPUBLK_PD_G2] = { + .name = "vpublk-g2", + .clk_names = (const char *[]){ "g2", }, + .num_clks = 1, + .gpc_name = "g2", + .rst_mask = BIT(0), + .clk_mask = BIT(0), + .path_names = (const char *[]){"g2"}, + .num_paths = 1, + }, + [IMX8MP_VPUBLK_PD_VC8000E] = { + .name = "vpublk-vc8000e", + .clk_names = (const char *[]){ "vc8000e", }, + .num_clks = 1, + .gpc_name = "vc8000e", + .rst_mask = BIT(2), + .clk_mask = BIT(2), + .path_names = (const char *[]){"vc8000e"}, + .num_paths = 1, + }, +}; + +static const struct imx8m_blk_ctrl_data imx8mp_vpu_blk_ctl_dev_data = { + .max_reg = 0x18, + .power_notifier_fn = imx8mm_vpu_power_notifier, + .domains = imx8mp_vpu_blk_ctl_domain_data, + .num_domains = ARRAY_SIZE(imx8mp_vpu_blk_ctl_domain_data), +}; + static int imx8mm_disp_power_notifier(struct notifier_block *nb, unsigned long action, void *data) { @@ -827,6 +867,9 @@ static const struct of_device_id imx8m_blk_ctrl_of_match[] = { }, { .compatible = "fsl,imx8mq-vpu-blk-ctrl", .data = &imx8mq_vpu_blk_ctl_dev_data + }, { + .compatible = "fsl,imx8mp-vpu-blk-ctrl", + .data = &imx8mp_vpu_blk_ctl_dev_data }, { /* Sentinel */ } From patchwork Fri Jul 22 12:57:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 592579 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 987B4C43334 for ; Fri, 22 Jul 2022 12:57:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235335AbiGVM5M (ORCPT ); Fri, 22 Jul 2022 08:57:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42124 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235265AbiGVM4p (ORCPT ); Fri, 22 Jul 2022 08:56:45 -0400 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60084.outbound.protection.outlook.com [40.107.6.84]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE17EA6F90; Fri, 22 Jul 2022 05:56:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KGxUf9hohOisCgrXHjiNd3HeUWR5gvzm6yhLWOQXyTH0Y0oUG9b2MjvfwjTjW5Z4STSTyq6tqQq7NJcjeq3OpHJIT9T+M9vMkxJ2WfEXYtpAEYUSfHqk/ClbUh5ITLa1xV9kxRXL+/kzOCX4xqhvFNGllnHre+QsZfhu73W+dgP0qFAp1ZiG1tRSBE6el3jpBzZCzOJN1Tw+hui3hm1+EMofgHh538pXL+QFXefTbqRiZ5VUt+BvZHv/CoRhYEyaTBhYcFYAPu8lzk3m2csEYkV2IhQylOSj+ecjCnp8q9yhQKCQc1MIKxbBfBURvo9KS/13XcXvc99wWNshTFWpyA== 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=1AorRxksbXeVxubLoSc+lsLswoLaLtAUA5dm1bM1U1k=; b=MI9D2rIbLFZxJ+Mh5v9NgqAi+OWVad/DLlADqvOR6cXx+w5URUP5NJsq8ylVFNGeJWxLR8+n1d103GHbMvf7T8aYWOBpXlthP989khCDxzIRH7NQ8sapAY5KYeoCCsyn3qnyKx+q5LoL7RjdPE3Q7ykU2wFgiGAWuesH6zNUKGZnPg9v5MRC2pesDy/l9so8Uox+yk8SYhABkeYtIiIxKzN24IkJc5vHH2tLu96TJvMlWXaxzbELOlaYZW8WexhAzSJQToh2O3DvIH64Es00371goGp66nDFrz+KpCxAqF+WONVF2GgXG1aku3JZh2sH4lChmGNhvEuegf94rH0hQw== 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=1AorRxksbXeVxubLoSc+lsLswoLaLtAUA5dm1bM1U1k=; b=ERz4ifu8GYSWWqH1zNtp4ofrdkXKQRmSsSmwxmWDll5giRCW91AS0NJOtNfm3Gf/7t8qZM4wge7y7QjrV8HlMvzbqKgzsY3UHrkgq9ptubvUaMlUkmM/vdixOpsT6mVtwyOKOxhUaa3lO3M7FhA+mATLhruupk9pdaqAm8knus8= 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 VI1PR0402MB3565.eurprd04.prod.outlook.com (2603:10a6:803:12::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5458.18; Fri, 22 Jul 2022 12:56:35 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::c0c2:ede7:3b85:1597]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::c0c2:ede7:3b85:1597%3]) with mapi id 15.20.5458.019; Fri, 22 Jul 2022 12:56:35 +0000 From: "Peng Fan (OSS)" To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de, l.stach@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, laurent.pinchart@ideasonboard.com, marex@denx.de, paul.elder@ideasonboard.com, aford173@gmail.com, Markus.Niebel@ew.tq-group.com, alexander.stein@ew.tq-group.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, aisheng.dong@nxp.com, Peng Fan Subject: [PATCH V4 7/8] arm64: dts: imx8mp: add vpu pgc nodes Date: Fri, 22 Jul 2022 20:57:29 +0800 Message-Id: <20220722125730.3428017-8-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220722125730.3428017-1-peng.fan@oss.nxp.com> References: <20220722125730.3428017-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SGXP274CA0019.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b8::31) 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-Office365-Filtering-Correlation-Id: b43ffd1f-bb5a-47cd-d44b-08da6be19b7f X-MS-TrafficTypeDiagnostic: VI1PR0402MB3565:EE_ 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: 0lpMRLqqQ8zt/oeKf93AQR7xvcdTkw6qRU9IK6wtoKXG9CjdDHsG7vm7AhGoINCN0bYrdvfpfy89qFKN6qFvncrRv72DRJf4EQbk14+Z490JgVMFvQXBbw1PXi0vnDF+ExEMAHsdj4bjfiA1R+YvbzjcFbU41uS7bXgpm6RSKcEO3QduewMNxSYQwRvs5V4nLSTvpN3PIl6ETMrcizNYcZBZQv52QpZKm5m1RpIpv/k8klL5ukI4aZ9CKgJ1LaoFFvI+8+X85Iy21j5ZXEU5qbC+feFmunyEzrO8MhBGunTXtgj6Y4CctA5Yd6mY78mfAy7TSSU6j5a2eaLqV1ZKGdoejz8vx8sf54Fw6OQ6VFmUi2s0wg/BTKS/v+YmWHFKZ8HEBD+zY3D5PY/P5QndiBmcQKDZIhPWmke3785TUlCgkrtkgHJEvq4UhCZJDbLg5huOz1Iq5YIP8f4MFovkDxEaZpye6dzl3bSrhAQZHRrq4/onG/JqfkgytPOuaUuurqnBi8ScrBZL2S7+tgAfkK/uA2CgRwJpmNqWF0EYih9TMjW+Z92DrkrCJAapQixdHL49BWGijTUoPDsqHhQfCJSob3Pe8gB5NXqmbI03qlcyfJ1QeFlBIsT+Dht2aXHCqBZCMaDydfv6iIRt1On/l3PlNqf8T65w5ADsWIiV0te75kOoyKv8Srk7avXkjSswKKOQS9lzSe/WgRLcS1Es+H+bB7Tc3CltwG4lKIr50qzDvNcF4F/UmrFfOB+qdngBksYZzTt0jrKCvOkLzkKD408Sji1M2s+uas9QhrlqxthuUFcuhbnrJh0VmjrLNzzwDBckF2VYD/ZjRvvB5e5nhA== 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:(13230016)(4636009)(396003)(366004)(376002)(136003)(346002)(39860400002)(2616005)(186003)(1076003)(26005)(86362001)(6666004)(38100700002)(6506007)(6512007)(52116002)(83380400001)(316002)(41300700001)(66476007)(66946007)(2906002)(38350700002)(4326008)(7416002)(478600001)(5660300002)(8936002)(66556008)(8676002)(6486002)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: fmXwCEBSxJXBFHAhQaIiljoXxNf1WH40ONKhJlt47HZmQfjwUBpH0Q8ZKAjugHcTWLPjW/ZShz3BnPP2hwsl7xVSEgcYa9n1Fqpu1gxldV8Z0APECHfmt+rVWgq6+dMY1kPMgNB/Cgbk9YgqYZKMGwXJf3Mj60bnPzZ+4DlMYjC45AwEslRfQwaLWCWF6zQiX6GgvwhLonYmX971G7HhjVk5NHEKKpus0X8tl+XDdWOKuzB4nvH24DAKOGQWY/OeV4vjrTQYgyiHoq+35VZwdMnPXF95NuXK66ijUX65ZBE1+VDRgYMX+pGFK5n4x/WgFV2DpEa6vt1Kn19NnYC/4nMUF6Tn1n2o5SgPzuJaSceHIrNZCInJxMy+pWh+nWwoU0Au0VuZ9Y7qTWTGtuG/MYCQKYF0eMsttjgbnHQSHUCkrtJiib/0p9jMXI76af3FVdm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ZoZ+awlsVJHXBXCLdbwCsQ5Mxoabl0A7RpPhfbvQgivFOB3YXF73ggmgwWOKp6DUb+6JL X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b43ffd1f-bb5a-47cd-d44b-08da6be19b7f X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Jul 2022 12:56:34.9818 (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: UdyBBvyCJy6+j/SRl2veDO9YIXQZgDVokg+PJPJ6ejAA/ZkByaaQuPqE/+IAAxrQjXeygBFRxNFeW6y9Emfbdw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB3565 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Peng Fan Add i.MX8MP PGC nodes for vpu, which are used to supply power for VPU. Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 27 +++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index 0b165f98a82c..34af983b0210 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -598,6 +598,33 @@ pgc_ispdwp: power-domain@18 { reg = ; clocks = <&clk IMX8MP_CLK_MEDIA_ISP_ROOT>; }; + + pgc_vpumix: power-domain@19 { + #power-domain-cells = <0>; + reg = ; + clocks =<&clk IMX8MP_CLK_VPU_ROOT>; + }; + + pgc_vpu_g1: power-domain@20 { + #power-domain-cells = <0>; + power-domains = <&pgc_vpumix>; + reg = ; + clocks = <&clk IMX8MP_CLK_VPU_G1_ROOT>; + }; + + pgc_vpu_g2: power-domain@21 { + #power-domain-cells = <0>; + power-domains = <&pgc_vpumix>; + reg = ; + clocks = <&clk IMX8MP_CLK_VPU_G2_ROOT>; + }; + + pgc_vpu_vc8000e: power-domain@22 { + #power-domain-cells = <0>; + power-domains = <&pgc_vpumix>; + reg = ; + clocks = <&clk IMX8MP_CLK_VPU_VC8KE_ROOT>; + }; }; }; }; From patchwork Fri Jul 22 12:57:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 592992 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BC994C43334 for ; Fri, 22 Jul 2022 12:57:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235368AbiGVM5X (ORCPT ); Fri, 22 Jul 2022 08:57:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235296AbiGVM4z (ORCPT ); Fri, 22 Jul 2022 08:56:55 -0400 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60084.outbound.protection.outlook.com [40.107.6.84]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1954BA875A; Fri, 22 Jul 2022 05:56:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=M3j8BO5AGbuii3vE1NU3nfZngnUePGJJlKUcNj2a2EptbfgY6kFqmo3s/KL6qcDoSGJavjLnywInh0tICUZgYQbCE67eR/MGlTfkNQp67Ti1slO/Qqvd+w/aYjlk29uVnwokTnfc3AkfKnOIIS7+8DhgRI8KgzQB4QzcrxRLJOhDqmXcgAC/ZFSY3bSnlgWvKrEEfuxiYb34hmhGjJ7mgnfuhmXCXVyBYu3EOYCwn1DOKyyL8kFYc0gDhreQGfrVypxR/fE75hg9KsquFEzF2zWYErHv0qjc9CZ/XiDDpbZTRnW36DZL3pYVVXdKhMTNSPpq7KIVE0YFtHkzMty14g== 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=olONIe1IcfxoeeiMmRevLFQZZOGiT0LONaCz3vBzlbo=; b=jG1kTKoaZnwxLQQe1NBeVB4NpqHwTZn2Dz87LD5XqE3GjfqI51j0VVe/bdHyJC4QiaLdT4cfEUKX6YO42wFM/o9kSZyBicph+N1c+a6Gw5rpkii6CEEc+IYOCjNQjqXaeGLwg5Ez5zUeeMxKcU3euBkyF7bvmX1waybMne5rkn0YvWq4vfZU5xOvtToHiEgFhux/9/+ZiwXGfDs0g2K0APjWYfv8nYSdI9klhs+2z+gtiohk+I3OwWrOA/h1V69MOs3AgGM8CSkmFbumW4DgVmMWQCbRTZJ3nLiGgMZuui3fX7yP1Ioy8W/qC4RqU5Dc/yw2RoQo3KVyUQWpf/XDyQ== 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=olONIe1IcfxoeeiMmRevLFQZZOGiT0LONaCz3vBzlbo=; b=mRka0Zio7P4xQuGE7B1SaLCeIIN6CHxLffghPL759TZhBhi+5VZCtkatkU0B2M0C9MRaKpUIr0xmAbJASWR6E8pRmvZCt2MPMmUlEIx1D6SljnJ2vkJoDtxRHzZrxWS/ZkED1rULAcm6SKEd+dTnzn7pdXcKiWAs10ulyc54IMc= 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 VI1PR0402MB3565.eurprd04.prod.outlook.com (2603:10a6:803:12::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5458.18; Fri, 22 Jul 2022 12:56:40 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::c0c2:ede7:3b85:1597]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::c0c2:ede7:3b85:1597%3]) with mapi id 15.20.5458.019; Fri, 22 Jul 2022 12:56:40 +0000 From: "Peng Fan (OSS)" To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de, l.stach@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, laurent.pinchart@ideasonboard.com, marex@denx.de, paul.elder@ideasonboard.com, aford173@gmail.com, Markus.Niebel@ew.tq-group.com, alexander.stein@ew.tq-group.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, aisheng.dong@nxp.com, Peng Fan Subject: [PATCH V4 8/8] arm64: dts: imx8mp: add VPU blk ctrl node Date: Fri, 22 Jul 2022 20:57:30 +0800 Message-Id: <20220722125730.3428017-9-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220722125730.3428017-1-peng.fan@oss.nxp.com> References: <20220722125730.3428017-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SGXP274CA0019.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b8::31) 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-Office365-Filtering-Correlation-Id: d239af66-8c7d-4775-4f73-08da6be19ecc X-MS-TrafficTypeDiagnostic: VI1PR0402MB3565:EE_ 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: lXAsbYGfMe5qu6guOL/fNs8BYVuSHYKytyMFvZOqesTurCqsntldcTA1ZAEZvbyY5SEqFOgZiBo2unwvV2ONX0jYDu4/HCZkARySVS4WvF24enVBx1/N+m0IVCMEuqUtQjkfNiBGkWx4ahiEQE1J6jOK7U4lUsnWlbm/PZgk8yJeY02Fi8w4UKzsnd1abJK4nmy1u1hYl0wT6sEv/6+FYVghY+sF/igWiwPBOJlNoDGbg8SSP35wdgJBCuktPQz9j5C47fmrUZhoZ5thSwR177j1MHSlkm7vsoyvHAclCNUPb5dwxbEQQ93rffHxUjK7Nr6HqLywH/PNicwNy5YVS7Pov9PeqSdf+FHNGW1pvoG84HKWHdm5w/yzDhCCm+/3KPKMZILH2f3ftfaJFWxiLHB2lufPj8CFh30rBXio33Bax1eSXPF3ZBo7hY5XalFMb4Ppta/L3dsaX4IgXTBxtS58pZU/7v4KleUIHWTaZnBjjql4mwZQ0OACe2D09WsuVapfy0yCB1L17yaMssJ1aKYWzAfZSRYPhpTIWhWlVeb7q85O9CU1GJv5AyIVhFVmTrrswL8Y3unTyVspGfHzW2jPoK2ZAEkb/xoGNmDHEliG2eAGz8SD2P8HQQrSuSYMfXRr5Wdzh3JhJiuda4aZJWQHnTpe0rACCPt+tB0tNoy08bOq1Sw20J7a0yyKVcRTAgH6nZa0oRVmpzzWgk6PfVqJWeFrKGI2I0wAzjrHAUvygsF9DOZ0Aj0kTW7c3L3+JCDXkylyCqPpr4jL2FxPliYqw5m4BCkwJ9lIwxBQKTZD2R/RgAzEWGA3+lt6q7jJKuEOd8zgKDAWONVnQYHzaA== 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:(13230016)(4636009)(396003)(366004)(376002)(136003)(346002)(39860400002)(2616005)(186003)(1076003)(26005)(86362001)(6666004)(38100700002)(6506007)(6512007)(52116002)(83380400001)(316002)(41300700001)(66476007)(66946007)(2906002)(38350700002)(4326008)(7416002)(478600001)(5660300002)(8936002)(66556008)(8676002)(6486002)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: OyOG/IAYIx8frFuTs5y62+Bbv1mWKUa+ecqKY1HUYCpCPPKTGNO7kF/mPI/8tCwjxsA90l2JMR5pf7ORmSNCCc1ZM9O7MVHLytOw+DqeY5nWoYSEfoGzqmhyNwEFNIEf3v3OId0Ttq0S4j3o7EEPYQF7X6zn7ygguWwn3YGPJd3TwGQQJb5aOdYqoSpu5UtnrsR58UBo3PA1d5U0K2oXx2ZtiqO2/DNUpgvbnDe73Cb54cnLHnKYB4VZxuMxwA2kPrj1zIhaN3SbofN5R3W0sn5LdEIkTdIbdNiIrA+EVKzw6OhBECs4K3SdgP0eSYeJNrrWSi58M22bMRJORvuLxrjUHJIE+tGFxraX0K+MeimaarR15v5mP5CgAgEjBV0xW7MKsYvYlBs5sEpyKjyN8gchuXQojZrtmOUKEh8nvtX2O1z386EX1eAY6e/IlFewEni91AclDcspY30h22ZsmACRBZ9QXF3GtfR2Q4+dnQmswTd5JJtXKHoUswWkec+E9nqqhygb2S5QKZIa5YQtMdmifQE/XmBvdBNo8Dl1iypI39OtBIiPK5JOQlN+j8ZoFZbbrpnWvOlkNpccJa9clW+Oe1i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ossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Jul 2022 12:56:40.4537 (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: hEshmW5lvUhAwJVSO/IbUYABWQB8Ul/yfHZIiAOXz0JAjly8qoCNcNh45H9cJGaqhGZQiDmPMqweTnHkQm7nQg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB3565 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Peng Fan Add i.MX8MP VPU blk ctrl node Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index 34af983b0210..493fc3ceec1f 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -1185,6 +1185,24 @@ gic: interrupt-controller@38800000 { interrupt-parent = <&gic>; }; + vpumix_blk_ctrl: blk-ctrl@38330000 { + compatible = "fsl,imx8mp-vpu-blk-ctrl", "syscon"; + reg = <0x38330000 0x100>; + #power-domain-cells = <1>; + power-domains = <&pgc_vpumix>, <&pgc_vpu_g1>, + <&pgc_vpu_g2>, <&pgc_vpu_vc8000e>; + power-domain-names = "bus", "g1", "g2", "vc8000e"; + clocks = <&clk IMX8MP_CLK_VPU_G1_ROOT>, + <&clk IMX8MP_CLK_VPU_G2_ROOT>, + <&clk IMX8MP_CLK_VPU_VC8KE_ROOT>; + clock-names = "g1", "g2", "vc8000e"; + interconnects = <&noc IMX8MP_ICM_VPU_G1 &noc IMX8MP_ICN_VIDEO>, + <&noc IMX8MP_ICM_VPU_G2 &noc IMX8MP_ICN_VIDEO>, + <&noc IMX8MP_ICM_VPU_H1 &noc IMX8MP_ICN_VIDEO>; + interconnect-names = "g1", "g2", "vc8000e"; + }; + + edacmc: memory-controller@3d400000 { compatible = "snps,ddrc-3.80a"; reg = <0x3d400000 0x400000>;