From patchwork Fri Jul 8 08:56: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: 588697 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 64570C433EF for ; Fri, 8 Jul 2022 08:55:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237679AbiGHIzF (ORCPT ); Fri, 8 Jul 2022 04:55:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237560AbiGHIzE (ORCPT ); Fri, 8 Jul 2022 04:55:04 -0400 Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10060.outbound.protection.outlook.com [40.107.1.60]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 45DA97358A; Fri, 8 Jul 2022 01:55:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SpluSB+LFblzbkZzokhfsW5aprNJ9WJ4Mw0c2SdIrWk3qDrR1GL7QYeVzRaR8OhAtFHqZAgFFQV/EHA2C2cpqILCLpMYL2wSyogqv7i35jsbwvRmicY9PeG/NB1jWEP8Xr3nRN4mmgEIv0Zchk2zUz4B7lftLCUjS/b90zc0ueN1t8E7yS1Q0woRFIesiZUFTrqkvJsFZThyTU+UAsf/aRyStiYLkDHxO9iu0zYi+j+2Wm6IxoKPaId1R+AFUUdaA/F3RPXshL69D7tn82pBndrUrJEQui1AK1t2rEYjKA7jdR1go9AuE9UySCYHVCMdK0mas2lbu+Mj9q2JrDm6Lg== 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=YiA+8OnmQ7YBctwKVNxjpamwVG7ltfYqmjcEzCuMMxA=; b=XHIawkLE4OxIdX4bwYWbW9WcLO94TFyXV8YByAiwRyrMWAmEyzZk5d60CCjRxrnQIPUXhz0BPtwgi11Vhe2h0CSNZKgyXUjynEgS0N11ug6TffB5vLy29nNs+iFRlJAdjibpudId+PNXS4QDKwMCQbP21Gq3KJh1BJ1B/mzeqcwS6w7Uful5U6MOlGC2uk89Fw4R3c04/Qd1WAvMV/hhulnoKC5nN6sWuIdpwfneNCFZlHAxAqfj1uHw0ZM+1TCqngtzk0Qao23Oax0zl7KKpburOG3DTqznG2z4AuDVZFctuNSS7zBBUW9QfyTtJLXwltdQDrPDm9DActZWuV02dw== 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=YiA+8OnmQ7YBctwKVNxjpamwVG7ltfYqmjcEzCuMMxA=; b=ag1uu2IE/On4KzlTEVoO26wh8jnSY2CCcGjFmcmjSkZkVs9nOtZmN5ROJ+K/ObjcfdRasTZTfBt0zDCuqy2/MG3M1Attjyk3jm82FqwQRQhr0eB3tVPi8CB06+Pt3lLDqaKIa5WegX04thp0IZFbTMa7/wfDLTaqd5DNZR5Izt0= 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 AM6PR04MB6503.eurprd04.prod.outlook.com (2603:10a6:20b:ff::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.19; Fri, 8 Jul 2022 08:54:59 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::fdd4:8557:334b:180d]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::fdd4:8557:334b:180d%6]) with mapi id 15.20.5417.016; Fri, 8 Jul 2022 08:54:59 +0000 From: "Peng Fan (OSS)" To: djakov@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, festevam@gmail.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, abelvesa@kernel.org, abailon@baylibre.com, l.stach@pengutronix.de, laurent.pinchart@ideasonboard.com, marex@denx.de, paul.elder@ideasonboard.com, Markus.Niebel@ew.tq-group.com, aford173@gmail.com Cc: kernel@pengutronix.de, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-imx@nxp.com, Peng Fan , Krzysztof Kozlowski Subject: [PATCH V4 1/7] dt-bindings: soc: imx: add interconnect property for i.MX8MP media blk ctrl Date: Fri, 8 Jul 2022 16:56:26 +0800 Message-Id: <20220708085632.1918323-2-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220708085632.1918323-1-peng.fan@oss.nxp.com> References: <20220708085632.1918323-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SGBP274CA0002.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b0::14) 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: 12b35389-cc12-4a46-1ec9-08da60bf89c9 X-MS-TrafficTypeDiagnostic: AM6PR04MB6503: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: 6M8THm3Wknz2Y0XSP5jFN31b8rZk3tgjYTFFvGZQ6IEc2oe3krfKUTfKcEwmOMgWsO8QWlpWB6HcZtZnZdt4p0ZvKrZPmT7301S1bErqitNDscA5iC7dtvYgA1l+dqRiIrL95XOcI5uPspUhmu9/J52TB8HIhfIrvR80ha3k8swG8K1uS63rLTZPpvkcZv6MnbvVAgblc3ixhoAV5osDjDlVlTwS8a1oj+XzKMKNUIuM/mr7D3HXrp1FiCaji/V0MErvaofaYfzgIjL3W3tyibmEdhOz8dB8wkJnkvRJBFggmTxZr5/6M1Y+fB06itsTzfExfm2BQ3SdtQQWxrqf9tm4TUUHW+HDLDjgt5i54+Lw1vZZ4klfsT8vk5ceugPOvqqOU8lZQNXEu0A3dJi3XEPHpiabiVTMYRCeH6sWMQomKHx/TmBomAADMhshbfStiGgHhSKDgVTuN1rdd4yLJunqwoiccMbzxLJYna+WE/43E5ZluAACHMT4VTOtAz5xCr/GrBYhMGc7+z+gp0D3pjq9RNp+884umbhK4d41I+bqENhluzSiS5p2RRRrPimig8xaFt2589U+7wtoernz+z7CQXCkv8VCS8fDWrd+GNGsg/xOUen7PCyka4vGi/qzAq1ZGTGDL5hUvPDCeWzf3LTmmCmps9hYzKRe/1IUuX0qSUh60Jc8Aostk+bPg8ooe0BVX2PBs8bjF1Q7BA9LoAsSfSw20MHiInZRuqwbFxknuAgPu0xzACb3/75ztlCQ8KukIuhKAwyve04jQCxAcHXk9FovywVy9FgwKCAy+3fKJd1Mq8lrb9vFWn9D1sDV+Vk1B3FDMlWa0vbnd7BCfA== 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)(346002)(366004)(136003)(39860400002)(376002)(396003)(66556008)(66476007)(186003)(66946007)(2616005)(8936002)(1076003)(7416002)(4326008)(8676002)(5660300002)(54906003)(6512007)(52116002)(4744005)(478600001)(2906002)(38350700002)(38100700002)(6506007)(26005)(6666004)(41300700001)(921005)(6486002)(86362001)(316002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: yZ2uH5SOGBwfhghVDbiBXuJzOQ9MPtRSsOpiqMb/PksZ2ZAvd5e+uRsjDALHxHjE9kCJ5Tl/ddFZ3hn83rK7tzmY0Myukr6y1kMPsOJg+36AP6k9DBolesk3z4+S0Dnv+xy14GvaRLqeVVxP+FrcymG2MJBkyNUzCx48mkVG6ZFu7Y8waFJwyJ9vJE7IOC1B392IYzphr0Db3iNa6iaJeh4IFD54E4koqe7T3ie9Uuo4jorN/6N988t7rX7cYbia/bzKGy9R+uiooLz0wuCxyB9kSioXZKSjCh2HpRqPa3A7Qp4RySvb9CmIv2x/hV1uHC7QqU20v9p/y5bKBcDeV3nlEUgagS69hMEqg4UhWT8ga0T1SbL5rGfQ6HjU6dv0ReiBayhHCjKYYQ7XD24rZp+jR3q93hm+tx4/0r4IjzIYdMNUukBCjXBXDUuexPfnkIsJpe+DENHok1nVzgBItqP0M+4iqXXihefz7B1JC37m+EUPw/ejMQe+CSqMkfFz+1hPgisE5VejXNa4eO9vM3mOpFcuxSODtINTy5wnYa/OPnSTKV6hm3oaJQ16Rm9qCox7Tjk/nK3vsDGH9TWJ2mdliX5jRMHEa3UkKoIB0glbJxGlfcc5fjimWr9s2BoqmsKL9iSFD1VawIfD6cBCHQeZVJQl56497PdlWmpHStwO24ovKVt+SOQvZTGjgndgQvPL7ATZM1+00VNR8nbJJmBlZ7whWhwKoEqxesjwh1Clud5uMurALtJWoQMzWOF7gcgF5h52pTeDVtXrONwMWcSQhGqsuf0EJAxUEL9FaW+NcGWcsIe4ABU7ey2WT2zluxQRo4RokJ80FrVkkL5MBSILW2epLC08fVqKsvbQYPm95mvpUvSya93ke2wksH+CtV0MkgfnidnS9MPNOnqWW28xz3vb2EZF6ryWMua2wA0pbAzZ/GNNTSc6/UxpcEfHs77iBcSJMRmCU5B/ut+Jl9iJCAce5atXYHPZ0GZTjaMSRMAv+cIWxICJuR2Y/R1inQktwTpdgkg5I6vk+1MXGLFX7kMuDAc17R4Nosm+KBWlBOdp8lvIoxGCj0UdePc4lVQwIcA7MlkPOw7GVUlqLDkBlTS8WoHCCmkAGo/lO3EGIzmbh6r2QvBrMt5vgwM3mcrb6tt0z9FiwmzFNFmQWu6jtyzh+Asmx+9TYYgCK7JwKvm9ekY1Q5XPczWq32n8V1QwhW/DFoXMVHBPshvuc7rosceOgxDOcCKcrVZFeBb3Emq1LlWOAjZ9jjoWKizuLSr7zMO+L1LP9Ti+ZKVxEZIiZZa6GL2r05MNLHKO1ufVqEYyb3pq+imvXJq7GqI65m4N7qv4yhSsO2BwsxeNNsF2XevVERiLUVnDMe6LEiMfkJ/ZoXmqKK17KAj01AJlCB/KUNzI5Q5HPkQ9dDk1D9Qg4q/Frym4bGnElijeUcptv2fyKyCGxXI+aTsHOfof9Ee8p9u/CgIHe3lHUwRh9andDA3v+56PNcUUKloCqy/qmRn6y+CLCZIdd1mvuIRP8nwnWX/gOAqCmf6w2QoTJSBE7AWUnBTz1SWCGfiGzYVQRQ42X9nr06f+LWa/h91k X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 12b35389-cc12-4a46-1ec9-08da60bf89c9 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jul 2022 08:54:59.6477 (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: oB6H7olg207fDt7IZqiOEXU4t++J5dqcWJ0MZqxmvCd1VmZOvHBi71lGTej9sWuJPURFxPfhpkiRHUPvn94zrA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB6503 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Peng Fan Add interconnect property for i.MX8MP mediamix blk ctrl Signed-off-by: Peng Fan Acked-by: Krzysztof Kozlowski --- .../soc/imx/fsl,imx8mp-media-blk-ctrl.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Documentation/devicetree/bindings/soc/imx/fsl,imx8mp-media-blk-ctrl.yaml b/Documentation/devicetree/bindings/soc/imx/fsl,imx8mp-media-blk-ctrl.yaml index b246d8386ba4..dadb6108e321 100644 --- a/Documentation/devicetree/bindings/soc/imx/fsl,imx8mp-media-blk-ctrl.yaml +++ b/Documentation/devicetree/bindings/soc/imx/fsl,imx8mp-media-blk-ctrl.yaml @@ -64,6 +64,20 @@ properties: - const: isp - const: phy + interconnects: + maxItems: 8 + + interconnect-names: + items: + - const: lcdif-rd + - const: lcdif-wr + - const: isi0 + - const: isi1 + - const: isi2 + - const: isp0 + - const: isp1 + - const: dwe + required: - compatible - reg From patchwork Fri Jul 8 08:56: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: 588696 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 4C2D3CCA47B for ; Fri, 8 Jul 2022 08:55:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237627AbiGHIzR (ORCPT ); Fri, 8 Jul 2022 04:55:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51536 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237791AbiGHIzQ (ORCPT ); Fri, 8 Jul 2022 04:55:16 -0400 Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10069.outbound.protection.outlook.com [40.107.1.69]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3438471BED; Fri, 8 Jul 2022 01:55:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jbuLcTsX+h8yjKcIwwpuop3nhT2cT5xwauSMnQ5sSGyKRUwuqFotLjtMCeGny6+2TQq3Mg6M5VmwJd7vbeUd0OKC20Vr1O8Qcr727ddZkP/f9UmY0h7eoNQpgLYewae2TFPCcZu/ikLywx1LbzhS9eZVNwjZmytY0vP9JzO/9iKMIo/kV2XGU17c9MjXAeN2PxjH0yigKcCpkcEuBwB92GtOfBq0dE4zbtDZGByZfo8n/GmB4AfE24Z8LTpVPSZWGjgKSbdZCQKGvP1ACduZ8PPUwrqbf0xXhZ1RREMMBiGJwApqqF0PybJjUZWwMWJmX5cjxltDar4iIwr03hGx7Q== 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=33o/Y/ohCYZp4xzeDP1SPYbZC/8TudY+xtcUlfmjVhA=; b=ecB0+pIPR3mIP2DplXYmPpXT3ZUx8p7+ei5qXhcDWfcg/0aZhuFc+rHvM/ho6+qG6/SoML1OU9BucLBokTAdO/LU4fIwmR3eCm9AjS78fhGTfQ4BpRPbh+aR8ObjeVNG8S8Kqt7ZZW7TZVOooJ5NECHoT1GF8FCsHKPaL5H+FKfwrjPMjZxdmmkSsONpQK5bA49PQ5B1djqpj94x9mOXBIW4NiPJYfOLMszFJnazNuZsozfnGIB8WFviWJynzYgObzk7yYSC70aufW+waTsS1paYb0izHxaNQXnnwVHUHfgCi8iTD43gOUcIs8spErIJn8JG0S4sNTGMP34c9e2sFA== 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=33o/Y/ohCYZp4xzeDP1SPYbZC/8TudY+xtcUlfmjVhA=; b=NXaubZnSYeUyzBQyU0QYcuXC6lSjcgDf7VUqf2yLVPV/yhpEVixIyElAsGks43kMdpyZsByiVbwr4IFnKNgOU2brbS6d94VReM98JrPSTaPieVtR/QyCEcXJy+LCJ2LAm5R9GH1GHsDyr3W5NzeYlQqtTUfn/ndtaSCFCy0N+n4= 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 AM6PR04MB6503.eurprd04.prod.outlook.com (2603:10a6:20b:ff::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.19; Fri, 8 Jul 2022 08:55:12 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::fdd4:8557:334b:180d]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::fdd4:8557:334b:180d%6]) with mapi id 15.20.5417.016; Fri, 8 Jul 2022 08:55:12 +0000 From: "Peng Fan (OSS)" To: djakov@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, festevam@gmail.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, abelvesa@kernel.org, abailon@baylibre.com, l.stach@pengutronix.de, laurent.pinchart@ideasonboard.com, marex@denx.de, paul.elder@ideasonboard.com, Markus.Niebel@ew.tq-group.com, aford173@gmail.com Cc: kernel@pengutronix.de, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-imx@nxp.com, Peng Fan , Krzysztof Kozlowski Subject: [PATCH V4 3/7] dt-bindings: soc: imx: add interconnect property for i.MX8MP hsio blk ctrl Date: Fri, 8 Jul 2022 16:56:28 +0800 Message-Id: <20220708085632.1918323-4-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220708085632.1918323-1-peng.fan@oss.nxp.com> References: <20220708085632.1918323-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SGBP274CA0002.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b0::14) 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: f7fc4687-025c-48c8-df20-08da60bf9144 X-MS-TrafficTypeDiagnostic: AM6PR04MB6503: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: voGE4whkEAUGwui/9L679dCYGcT99qHitc6LX8vUROSrzvajUwWQnbv3yfJ1BZhb5WmOvBDIO6BLlJjHjarKzXj7yhQZxjDaVhCn/ptnbDBlAKrf1d0O7sPq4PF/y/hvn81N89g+n3E0AqPPuzpZd6mmzYEj6wVC4hHmeOqvCxkJu/CZDRp0ymqhWW3FS6XqFU5G+i1KtFwQlPy82zX2KlVv7P0BkKJGBLsdIJXl5HVYse58focdebLKJuDZ1yOfteLuBw74vFpBA6AahHFPXP8LJbHsmsVnQ87K2RflwOT/hIV4bppOgIcSSF3AtSapDnNZPJfYDaIr3T4NJ7PBQMwFZWdpSJ2KjceCLdKXmcVpbh+lMs3yRGbjrOC/KOP2hwWsgKI8LVyAWzexqqfuL1v5Uru5acq4/H3TtacLls8iOABgnQGpEmCT5O/MTcbV/FdFDCFKvqqjC5DEu3NASAr7qr0xvtCIZd8IO0exkROk44EBHQps0+6A2vw4C2BYP9GvflIciRHXBBhAUR1jJtJGVBc8aJqwdXvbXPcEAOgCQngBD9UerEbDlyis11YBSJ81+u2Ex4mfDcEkOeAjlert2hcVEoZi76C//SAGLMTIcdP2fPUcUgTJJEIr8EL5ByZUoahj0eQ6ovKnHDbk+FMLT2MYSOWgkbKn1Ztdv2ibaoUXAuWfFDLIWfaeWD72PL1a3JxOrkl8qjMubR+yNVzwpB8sXvL0hDsKjYkPy6Sx1VIhoR9xjK/hiwZ9/Wuwp8ryNljQQmH9oMQgLsuY2ttiAFW7vWCAg3aBxyn+5SKeVRps5Fc33NET2Y3sVtkLTQZPLY5VbEcVTJbsLxL+Ug== 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)(346002)(366004)(136003)(39860400002)(376002)(396003)(66556008)(66476007)(186003)(66946007)(2616005)(8936002)(1076003)(7416002)(4326008)(8676002)(5660300002)(54906003)(6512007)(52116002)(4744005)(478600001)(2906002)(38350700002)(38100700002)(6506007)(26005)(6666004)(41300700001)(921005)(6486002)(86362001)(316002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: aU5H/FjNQ0JtFnlO/XSvKpj9pOK0mCSdnUW2N1Vz3xXdAhcu9cxoycR6Sce+P5suNnXUY5IEXTbWMWoFct77lr4N1SUw+D6dPV9zIkpv3LtXl8NunoZ/SFYIrT10Ur3wFRKYeEwr1ycqEaH1eaiRv6s0F1lWR86cPIiYBCFTcsAfUPVoHAtArFrVs+AktRGkn1lbXVpserZAbHLOydgkgNGLd/7jk4IfasCM14v5QiHyF1IgY4bgArlp6eKb2xPxcKSRRDcOT5sc9DmQVmw/D2RZQKrgGZyrAMnsfyVhh4RV/VDdwiIRvpsG29Mm7w15LHzfquDUU/nYJhtfahAZyzFhUin2kR5bnNOQ2Ibxx3DuuitqMrPQtGzVFouFi+rqYA3SkrQRCxiT3puXzgZqkPatXpve7hVlMWmSptJ3TKys+pFbN2937bxouhevS+IA7ZmzPjg/L0rbHGv1f9gr3dYqAW6ZwCUOsEaQX+k6FRUUJT8g5ljMZfMlVDg/VHprHT3w/PDfouOnJsdila5LBLmS+/lxyXrtbWomwSnhVqBLQtSJzlBRk01uAXUM8x/aZX2ElYgKODAaW++xD4wbhcmyXW9NLwu59Vtgn6tCrXSfiXoOvPChlruokdCq36KtKXVUDlb86xKhRcPO5caZt4rv32yruWuY6/kKBl05hvgKicw+PGcaXE1s3RL/yOdr1zNNVL3uymp3ADS39NzE+RrYp7aoKcjJjKiMc4FD2BT3G1MrAp69FVah5ce8kmp6dpM6Lx47oQ3xkxVE+xxjfQ6RCFp0kXVnHBuMoC4zHhDzbwXOSqGnwqX80dBjzVGwY3Jdis6smtCfZvmMo05X44fNstyNcjRBHmi/I5mtL0irWhHuzA93IufSiH9yCxPXn2NzS5XwA5KOLvWGqY8CCRKGTaMvjp1AwwU3hZVDIFAKNtGqizbvkDZyW510jVmnvcEuL01fR08JjwvApLxhwp56q/rQvrX5EJPBJyKUv+v4cJJb0At6t82j5qJLPgndwGZEcNTX4Jm9yXO/ZCYrxJ41asEFl5mDwnO+FQJ9DhAzNwEuh/ORlkZ+SkWgXAYlGe4wfZfN1sZ7VGMoM5rFjpksbS4vdoZz/IZcqoWfx8XEVGY3h1n7L8f+VfKxV9pIaIIIm0xwdc/U1hvKT/bD5/KmqcG2NWF/20qcOJe9kxCrpe2KjLpIia1QcaAxqn+tP0e3ekTROO/1f5L0W1iXNyg5gE1sd6ZnmVa65jXCtleCX8MeqrWACkc0M+DO6wvwmHuTDfIGGDj65Ep0/B99WwV0aj4/DFCi1UbenABhrhsHkKBrYmrQt/V0nvWkaOUOUkWAMmyv86c0fy3Wbnh1hadVSBBRhJoWBksppLndUNnaMFaZfEgg/Vn0z07/lASzSrCIISkk8I+vG328LcwPqXxWaCjo4iFKUwkQi5MjnV6YyRa8Sd2A2Mq/RPPSiA9OBD4vouac090IUtImOoZA6SnpNsk+rv6JfIbGCUjJXMZ5WG4lRrDbENhvun4LnnmOwT3zISccP63vBLD1ksbdaee6VTZmQIXA+rVxsAlEV3ng1Fk5/KL3YlD54Hm8t06F X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: f7fc4687-025c-48c8-df20-08da60bf9144 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jul 2022 08:55:12.1700 (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: 524rcvy2Iox8KtuldxUUGNS9wV/RS03+bhyK0Uz2QKAYWzIfON1WkQNAcdSv8JVkDhQZItV6iN53FziC1S+jUQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB6503 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Peng Fan Add interconnect property for i.MX8MP hsio blk ctrl Signed-off-by: Peng Fan Acked-by: Krzysztof Kozlowski --- .../bindings/soc/imx/fsl,imx8mp-hsio-blk-ctrl.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Documentation/devicetree/bindings/soc/imx/fsl,imx8mp-hsio-blk-ctrl.yaml b/Documentation/devicetree/bindings/soc/imx/fsl,imx8mp-hsio-blk-ctrl.yaml index c1e29d94f40e..c29181a9745b 100644 --- a/Documentation/devicetree/bindings/soc/imx/fsl,imx8mp-hsio-blk-ctrl.yaml +++ b/Documentation/devicetree/bindings/soc/imx/fsl,imx8mp-hsio-blk-ctrl.yaml @@ -48,6 +48,16 @@ properties: - const: usb - const: pcie + interconnects: + maxItems: 4 + + interconnect-names: + items: + - const: noc-pcie + - const: usb1 + - const: usb2 + - const: pcie + required: - compatible - reg From patchwork Fri Jul 8 08:56: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: 588695 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 4B0BBC433EF for ; Fri, 8 Jul 2022 08:55:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237700AbiGHIz3 (ORCPT ); Fri, 8 Jul 2022 04:55:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51704 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237479AbiGHIz2 (ORCPT ); Fri, 8 Jul 2022 04:55:28 -0400 Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10056.outbound.protection.outlook.com [40.107.1.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 89B823204A; Fri, 8 Jul 2022 01:55:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kjencH2yEoZkMBTM4siEKuvqo6bGzUy339IW0ovYGFIdNv2BrsYxFIeSjx11pAxDVsFYV6hhnxT5dvgCEX2Q7/8C1IJhMLdvH2ANhutz4ERJkLD2l8CpkSiXQXA0+g7WxJlFMVwImQW53bcp4+Tq0cfwXFRRj00fVJ9lEe5un8SSMsJokjM0vK2pYMrKRteJ+EBrVyWabAiIyITEPiAUaOeVXA6oOKDeqc5Zi+Hl46pBXEN5vSHCFK/8XNMjaFjsYwxxH/xUnVZZkJ5qyVf6ln7lHqYBohaeQfOhCRFcxfnt76Oj5q5HwF4fdTxs8o1tK9o0Izwt4R/NESaDW49crA== 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=UFq1v/soRy1/PKRZfFG3yla4ySPLxECTvPTdp6CXbQs=; b=mDq5SbYltS0e9DaoN7wVaSvwUtyJtdIRDJU/slGoal4POEbXzjjy3s/OxyA1FzpAyr9nqKReuvsb+RgsdiBdqfhmuIWLKv11V+Fsv+0jiN4O+BY4cLS9TWi/ywEd3ev2fr2egOR/rX1EiN0AqSXDeppRw8x3Puu2YH2dTf8yRlwEq2J+k8LJON0ozsOIvcCXhLcRLjOz83FNCf/mgl8AVHKoJSR0DRbZOh1/TgVCf0pCT8JPnuk5r26LbIYBq/LdIatAGSu6a/FquoJt+UzS1thX8v4Dlfsto2PSFCaK/9f/71Qeg7gIBFYs5FXEKa+rRFP6M8YAzuZO26ADhHH24g== 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=UFq1v/soRy1/PKRZfFG3yla4ySPLxECTvPTdp6CXbQs=; b=Zmze7CSZJtRhSrQRiaEvoAaiRcDweO1twP27HnmpPliFtPpwn6Qq9EdKiab+p+eMuaHp5oloRPY9C8Ruhq6wpYR8I+k5Ini0/Fmql4ME5kyPL9w3ekYYqs2e6C/qo4i8YLFlP/FlS5EI1K495DAJVgsN1QU2V7fNOBiqW97tEvU= 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 AM6PR04MB6503.eurprd04.prod.outlook.com (2603:10a6:20b:ff::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.19; Fri, 8 Jul 2022 08:55:24 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::fdd4:8557:334b:180d]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::fdd4:8557:334b:180d%6]) with mapi id 15.20.5417.016; Fri, 8 Jul 2022 08:55:24 +0000 From: "Peng Fan (OSS)" To: djakov@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, festevam@gmail.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, abelvesa@kernel.org, abailon@baylibre.com, l.stach@pengutronix.de, laurent.pinchart@ideasonboard.com, marex@denx.de, paul.elder@ideasonboard.com, Markus.Niebel@ew.tq-group.com, aford173@gmail.com Cc: kernel@pengutronix.de, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-imx@nxp.com, Peng Fan Subject: [PATCH V4 5/7] soc: imx: add icc paths for i.MX8MP hsio/hdmi blk ctrl Date: Fri, 8 Jul 2022 16:56:30 +0800 Message-Id: <20220708085632.1918323-6-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220708085632.1918323-1-peng.fan@oss.nxp.com> References: <20220708085632.1918323-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SGBP274CA0002.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b0::14) 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: 13d335e2-f857-4653-b5d0-08da60bf9865 X-MS-TrafficTypeDiagnostic: AM6PR04MB6503: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: MczozFcGScVWo0zRIN8vCRKkDGu0UzTapZL4T7fWdyGa+G+gSYC8dY+EIhMzM8DDAwjCkLeArsucoLIcO9+h+uolvghXhFauTKS31NYcRlL3Yi8xZ+Uf4eu08AxY/laKMkQy2fPeB2gR41T1TsxC5doCcUTlxqOdtQ3NTTIQ7LqWjmMemZDl7B37VQMjmnZqAj/M4xDsA/67/5myId/NqqwCJ2nn49uRZhpoaHumDP1fy3QdLyXnJcV0IwcoEv1y9PXK3bd51fjplmUY21fjh3iZuuQG7j1LJZbfKMLbK7PpidOjS+KPG0RtfavkP8/oeud1rON2FhkZHu63/M2kL/uJtUAnHrLL2Wag15aH3MdcrSZs0hQK1P1s19A1dKydyT42jSao7f62/1ge1DL1QYiDajRSVpGWloZi6oPJ4ICT3eh0xQGhNNlGC8oFeprOjZec+7sJZHbWN7MHsORnwvctc2xlErwHQ+0G/NsslPeRmpr9tX4qKQ6ecAzRAn5bqiy2PGoEJDgxl94Oyoq+D5Zh9xdnrR2EQZywWJ2lhcjGowJZfuEaQRQEIE7PHCZQfQGGxqwsG1ToRhkxuStcY3tErNmLusKodT+QYDv08BjVg7v+amXSu6POd6T99fPLux2kJ+OVRbO7voT/aQ2t6lYmAzxCbm9R4qHX9DRYhQdTGrBXR7Rs+/sFI/zmH899ig3LXotgqXojMuv+o99gQZkBiJe3QY/FtW+vzgZPhEFhEamtykX0Uw33ThjLqV/ujpG0h/moBOibcz73tOQWEehwobh0zZBLzHm1N8XK3M7v1SRS4IqTJ+sD3sYWpT9lrYDNIs72oWwS1y2T5EoQAg== 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)(346002)(366004)(136003)(39860400002)(376002)(396003)(66556008)(66476007)(186003)(66946007)(2616005)(8936002)(1076003)(7416002)(4326008)(8676002)(5660300002)(83380400001)(6512007)(52116002)(478600001)(2906002)(38350700002)(38100700002)(6506007)(26005)(6666004)(41300700001)(921005)(6486002)(86362001)(316002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: GyiDoAhWFf9wETSLSeDxXqlB8Ai5FRq14q9R+E/cNa466OD4hwAs3hUbtKLm8Nkkk5sUSHEgD2MlrH2/UBSvsd1j5NZOrwJ+sDohbvOf+S9uSsjYcdapvjnhrqTYG62/1qI8Hjk9y3GOz38aJH4JhLnzkuxjrgtNYIYaLAj5ObSELj79shXM2G11KCl6/99tu/M7c+0Q8UgSsk3xgdocff8yHkqMVc/iYgO/xsVvW2Byq3lUmZyIfZWOMZst+t9n9WymSi0usmGtoAt4QPkfdBEIeabPUFateMHwENPrcNg4om8EfWP9cVok1z3G7Jm611i/LXytYt703RzeG46Ny18w8iLXgxsj9KTu89xXyLNpY+3DYOFmfbCQy8AQE0GYNtOl3Q4KROlM+wkz6nQS+4hi+VMakMwuAXOTFV247KhUwuZxzwjKIamNcKsx/VZAgdBjXfZoaVHB5ZEiKKDmbQru7k9uznSrQXNbmM9XHLZ375BRYEwoHiNqzkqyM8yemdHZpt+/1zFynSp+ry+4oouBdnAzXX1qWQk5/e3TcSr1hbgBAKalwBp2WHrYyJOX2/OrNZ5Kr84R/c9s7PTStMXhr9b8kLkGJKa0HKW8LEtzP53v8f7Rqh6dxVGaCEnzevqEANDqVhAmlsfsg+kPP6OAD/fbrWT9CvxhlknsrCFJf2Tii3ArKrtYJnYWgllVwtHa/Xyc0UnLzfY6X4HCHjiXXB8xaicWmzaOKFi1DgAuaMgSMgVR4CrOUp5elpHBZVZVzUXCjraIDCoQ9PPDDKQhNHUHip8Q6EdrBLLdFwZwpSY2RN5VnaipWxgTVnH7w3hGXF7B9TzuLFgJznYHFSPl2WB3wvJCOxtABAgzU7kzH/lVfn9cMLxAvhAw4oGvdzsaQ9FIVQIo4QSvLqdSP1FsmAROu3b4ZYXprFwE4JR/WHEVNc1Ypau4zYUwaklmBelDJwVP7bkhR97xFpdzFPdtwI+t1olVnv64/KxEMA1yGARItxgdKzr/D16FzZ0HWZ931MJjQUF5yiZaf2lU+NWgf7QysAnwv/CW5NmzmytPqAmRP00zIp/5BKN8KgLtsKMQOjctPedKdKN8cHhnusx1AednDD1M8RlWhgDP8NS4hNsRZSegaO7SPFrc0vq2EvJdS4mbvgrunRhgP7tMit/gQrDNijxYGxrkVPPAMLoLZLhCfweWxGNRkDURUOy5a3WdDpZk9nPZPyLrEchZ4a04aGszS0PLEyI43JaYw1anjAG8aML5bv5vd+Hp60DuaBwLTpP7e4IQ9Ceai+2ssGyqVEgrhSpPSb2YsmYbBapC+5LsIjFLSW2LwvsACsjtwGmGPX/rX4E06EX4tIA5xBliFceIPVJ4+2CWevbahunRVV+7oOFVzHd4UwN6jbHxZX/5XiKVWZRi0FAbK7a910Zs1XdZfUGY7kNzkjs8eoRm3XHp0nX2ROJEu9HBHbxeLamGy54w7xsb8Q9J/MQLGVgRbql8J2oss6EUAe94CQT5z6qBS6Pq9Ds+ZuSOB/LmH0uHISAxluYhhG13CsQCxysC/aS6Y+R9voITLhA/U7Fm0Nze0CRWnpq98rKPWVVh X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 13d335e2-f857-4653-b5d0-08da60bf9865 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jul 2022 08:55:24.0043 (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: RDEe6OlQT20Oiw5P5IyS/tcxGQ1diuTDUJ0f+3yyGoWRlG7Y1i+9AHfDQU9PTqZ5s4PW7E9eYhSzOiCca4NZGw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB6503 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Peng Fan Add interconnect paths for i.MX8MP hsio/hdmi blk ctrl Signed-off-by: Peng Fan --- drivers/soc/imx/imx8mp-blk-ctrl.c | 35 +++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/drivers/soc/imx/imx8mp-blk-ctrl.c b/drivers/soc/imx/imx8mp-blk-ctrl.c index 4ca2ede6871b..6f983adcb47c 100644 --- a/drivers/soc/imx/imx8mp-blk-ctrl.c +++ b/drivers/soc/imx/imx8mp-blk-ctrl.c @@ -6,6 +6,7 @@ #include #include +#include #include #include #include @@ -36,17 +37,22 @@ struct imx8mp_blk_ctrl_domain_data { const char *name; const char * const *clk_names; int num_clks; + const char * const *path_names; + int num_paths; const char *gpc_name; }; #define DOMAIN_MAX_CLKS 2 +#define DOMAIN_MAX_PATHS 3 struct imx8mp_blk_ctrl_domain { struct generic_pm_domain genpd; const struct imx8mp_blk_ctrl_domain_data *data; struct clk_bulk_data clks[DOMAIN_MAX_CLKS]; + struct icc_bulk_data paths[DOMAIN_MAX_PATHS]; struct device *power_dev; struct imx8mp_blk_ctrl *bc; + int num_paths; int id; }; @@ -144,6 +150,8 @@ static const struct imx8mp_blk_ctrl_domain_data imx8mp_hsio_domain_data[] = { .clk_names = (const char *[]){ "usb" }, .num_clks = 1, .gpc_name = "usb", + .path_names = (const char *[]){"usb1", "usb2"}, + .num_paths = 2, }, [IMX8MP_HSIOBLK_PD_USB_PHY1] = { .name = "hsioblk-usb-phy1", @@ -158,6 +166,8 @@ static const struct imx8mp_blk_ctrl_domain_data imx8mp_hsio_domain_data[] = { .clk_names = (const char *[]){ "pcie" }, .num_clks = 1, .gpc_name = "pcie", + .path_names = (const char *[]){"noc-pcie", "pcie"}, + .num_paths = 2, }, [IMX8MP_HSIOBLK_PD_PCIE_PHY] = { .name = "hsioblk-pcie-phy", @@ -322,6 +332,8 @@ static const struct imx8mp_blk_ctrl_domain_data imx8mp_hdmi_domain_data[] = { .clk_names = (const char *[]){ "axi", "apb" }, .num_clks = 2, .gpc_name = "lcdif", + .path_names = (const char *[]){"lcdif-hdmi"}, + .num_paths = 1, }, [IMX8MP_HDMIBLK_PD_PAI] = { .name = "hdmiblk-pai", @@ -395,6 +407,10 @@ static int imx8mp_blk_ctrl_power_on(struct generic_pm_domain *genpd) goto clk_disable; } + ret = icc_bulk_set_bw(domain->num_paths, domain->paths); + if (ret) + dev_err(bc->dev, "failed to set icc bw\n"); + clk_bulk_disable_unprepare(data->num_clks, domain->clks); return 0; @@ -510,10 +526,29 @@ static int imx8mp_blk_ctrl_probe(struct platform_device *pdev) int j; domain->data = data; + domain->num_paths = data->num_paths; for (j = 0; j < data->num_clks; j++) domain->clks[j].id = data->clk_names[j]; + for (j = 0; j < data->num_paths; j++) { + domain->paths[j].name = data->path_names[j]; + /* Fake value for now, just let ICC could configure NoC mode/priority */ + domain->paths[j].avg_bw = 1; + domain->paths[j].peak_bw = 1; + } + + ret = devm_of_icc_bulk_get(dev, data->num_paths, domain->paths); + if (ret) { + if (ret != -EPROBE_DEFER) { + dev_warn_once(dev, "Could not get interconnect paths, NoC will stay unconfigured!\n"); + domain->num_paths = 0; + } else { + dev_err_probe(dev, ret, "failed to get noc entries\n"); + goto cleanup_pds; + } + } + ret = devm_clk_bulk_get(dev, data->num_clks, domain->clks); if (ret) { dev_err_probe(dev, ret, "failed to get clock\n"); From patchwork Fri Jul 8 08:56:32 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: 588694 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 6E225CCA47B for ; Fri, 8 Jul 2022 08:55:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237479AbiGHIzp (ORCPT ); Fri, 8 Jul 2022 04:55:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237829AbiGHIzn (ORCPT ); Fri, 8 Jul 2022 04:55:43 -0400 Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10079.outbound.protection.outlook.com [40.107.1.79]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0EAA7C190; Fri, 8 Jul 2022 01:55:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TA8+wDFqPfCYypVUevlCBLOAzAzD5XWAn0La9PZfHFGPoumpy0yzNjIZtgLXzb2x/CceMph+uaX+CEKSqHSaGnHAb/oKucYBkwNe6dHXl3vbSn/yR2Cajb4Rl5jIxNewmJZGCtPnP9YHg6gB3FywZaI3RXHogIYPRwzlkFKe0ciILyqQJgDkZBkFIlVd815B7E0QE0y311bQEKu5Z0zl9u8TVfjdTsvQCQEXYjIGiju+G35DIuRftRQXQz8mkp3LRuCC+Dl3dUi/S4D5G5BlRGSuIxt5C9u+WcZddXBeGqjxI+hUcw+qw3Q4M4hYN1fo7mV8FKgX3+iOXbpK17girw== 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=SVsejrYqZChWET42fQpQwSumgTJteEyNctAvnqdN8b0=; b=RsmGsaY4+w+ClzM7zHIUiq0i+O2Fxfi1pEu9jPU7rXp1M5RyR7LdM2JFOH8+Dw2BAQk3WJvEd0+cGbH0f/XcpiX8F3+FD4Eo0jdUEFMQyxkSTEdWMric8yWpd5iauE1xn6grfYJNDxtxaCTeejiKeyBFbKLLdqstGeY1wjTqXX2v4dNnPV0gT+boMF6iqHw8S+aGU6EVdOM+Kuk2L7U2z7o35hZ+JIGOHQ0YFVocF5Coy5CNv08L2GGnuo0bveACXeQP8DCM8HN4CHTpiET0rCQSaGW5zZsE1Jw2Z5Uy+PVS8PEWnWPgqiqK3EF6lbtU6/7ZRFiaa8+PbgzyCCvMcA== 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=SVsejrYqZChWET42fQpQwSumgTJteEyNctAvnqdN8b0=; b=OEvgIAOahz+L7Q8LR3LNEAJbkIY99DiYm/qIxOyegOODlI52WE24KCpPhYrGAuqVI2pUSlJlhVMh8hGPe62Z+7HIql9X1ihAgL3JcJnoV8mZNDPtRIW5nGE3nB5OyZasqFCeZDDtCUGQvkZ7AoUSfywmVbBnIp2I7khaKDZEltg= 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 AM6PR04MB6503.eurprd04.prod.outlook.com (2603:10a6:20b:ff::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.19; Fri, 8 Jul 2022 08:55:36 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::fdd4:8557:334b:180d]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::fdd4:8557:334b:180d%6]) with mapi id 15.20.5417.016; Fri, 8 Jul 2022 08:55:36 +0000 From: "Peng Fan (OSS)" To: djakov@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, festevam@gmail.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, abelvesa@kernel.org, abailon@baylibre.com, l.stach@pengutronix.de, laurent.pinchart@ideasonboard.com, marex@denx.de, paul.elder@ideasonboard.com, Markus.Niebel@ew.tq-group.com, aford173@gmail.com Cc: kernel@pengutronix.de, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-imx@nxp.com, Peng Fan Subject: [PATCH V4 7/7] arm64: dts: imx8mp: add interconnect for hsio blk ctrl Date: Fri, 8 Jul 2022 16:56:32 +0800 Message-Id: <20220708085632.1918323-8-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220708085632.1918323-1-peng.fan@oss.nxp.com> References: <20220708085632.1918323-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SGBP274CA0002.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b0::14) 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: c3c105a3-2538-45c4-7260-08da60bf9faa X-MS-TrafficTypeDiagnostic: AM6PR04MB6503: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: foliQyT8VJSyuCXsrsKa0GrmQE1tXfQM75Bok1MQN+R1LIKnnw+qy6MS86jqVrB0gsnvDOTs4hkPR3/pbfXirRzuto8dpLOnHZWawcpv8K3m8O7UED6CNVdMrkaDbCqCJqJBP/U5/ZiVvoftCb0N/K4lbqN8htarYNFJi1HTQVP0FkBFl/zPwmf+53PXYn6qelkV5OgHkaKnW7cu07/LHz0UWNlBP3iBhCGVRVZSQ6vfmGYwhniqphPSYRSZbD2Z/hVkB7Uq7n6Hua3gvzLUgNoyjpKtuEpUOxfc0LZaEg0Ec0RbNCuZn9gICJEZZru0mbadra3DV/XunTTN4GfD9NE2ds6MGCFj+2Gh3antuikJ2dzy9FcZlmJ4eMxryefiPk4qnS3RbJACz6js0ZGG6FygOc+1nfU5Q/2rGycZp+vk+CtLZnWjYDNwXHKB8rHRAODyjjL68LKi9Jbv56NmrHvPxg8bL0/uxsvJecF/8GvabDojssulgroM97s2UAfFWKcXb4kWBGX+8LuyeKBjIH0tmHd5k4vZAIasF7QFVIcmY3XIHbT/IPSi0TQZRBS4xi5KpAnFct9Ct2fDeIGa8wFU2J/fVcpeG46YNf5mOLRrtDuOOFCa2bMpdKmGTJHSpV+rExxUqeP+ofoBYxwvGmu0oE0WGjTfBnd2oUBh3XhYk8/M7YblK2Q3g/lgREZEHifojKsfaRTrCHdHcbHQsNIcZuGMUWjqWeRjswCOXQn8P/FDbljv0E++97tQEBcGujj5hotokYhB+EYgqoUJl7/W6MA7f+zDlFv0dgdI9C4LmDioOjfoVplZbQ5j+q5fa4Isw3unnFljcRFPMfce+zL1UM50DYIktj9H3LKk2is= 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)(346002)(366004)(136003)(39860400002)(376002)(396003)(66556008)(66476007)(186003)(66946007)(2616005)(8936002)(1076003)(7416002)(4326008)(8676002)(5660300002)(6512007)(52116002)(4744005)(478600001)(2906002)(38350700002)(38100700002)(6506007)(26005)(6666004)(41300700001)(921005)(6486002)(86362001)(316002)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: ny+zjPy6xxdKPNuEgJczaZcsjDvRuEvPMZYLqYZpaPDwLJ9HA9vCP4faQGHrrEa6pBQI/1aaImaewnGcL1xucys1I88upefTBpl6iM6QkmbJ+9EIRCMMWl0CbhGTiFEEp00PFopyTt4MAhmbLLOoLpBJAGTpH4AzkE1krOsRyN3qY8b8wz77zA4ZlEB28pgjIFGED7YHzt2SpFtr3xc0j16B+ecBMPk4M9ZWRoNecyGGgCkQWA1SvoXNVn/cm9gV4JhoTr1cHNYIaQdCEf3R2tDgd1RMk5otL44zfZxG3Cko1hor9vgj+1xHSV09IZFoUgPw2tfDsBc7nR+FTPdUIHrJ/3a0IRlISlw5qlKBZt6/Tsun46a8g5GETDCZdnTXxJwl8HinPpA6aFudRuJzEJHNZf3X9tn/L1HeLQXNZ2KohlO98xdSbb8BrUDF43XqsRxOELbbDVgZvDgPT7lfENtEOv/BOg5sPzabX2Ex3B/rrmrr9bdmDFVKHtvF+ZO+xZGuT5ESKbzgkFcykTwfqFoqMi4mgEsMPPp8fb+3ONi3QTiMTB0mrThaSulJ1zMtq6n+e9yrt5sDFyuDv83EdxBAP5LctP2+H8pWMD/lUGC6u2XeeYq7o4giL+TaNNG5FN8jnAyJVyadq8xOOu5Tz7ey3bXkCBOEtiCP8300ucZnCJEarxntpk3ecxLppTHERu2voJFROJ8a0mY5AHoRinNBAJ3W9w8/PFIiy8v+Xp4Lw7EbFdZtBjAMlW5uadxZZX6rgVDGj0pf5CP77PKhQjOSPSz/pBl/vnCThDxq7a/berBX/YsSuUu6JkTclGumFuyps/jPb7th+z85CcbiiW0RLCPvqAcvWyJnhcJT2QEufi5tGrVaqdRR3WqIBiFOTj7SN4A9FOIq5+1fiuao8eR1Wc6BUGGIheiDX29lj8l+p/9JwrgC3+htOBOf6fYOiZ1qUHoOgjDSJUfzBg1dBPY7qBU8yKoG84C+RU8NjOZ/6+xNxvtplBrJ3Rlqe7YdLuNyYh5965tDLheNdAYWHtdzUoygRDjhj9hiWwfJ+/JtnAAI+J5ANQKcgKCZkg6MXmPOh5anrzqWSotUnZA+VjMSUOQsElaQ/2Cwmucwe4sa/MZAWi8ot9FobbnGcfzUhU7gQNr1mLn3YIbZtFAJvRoEbPGGr+OhVpZq7FPBXA9zdmc90jA20nyAGjEsxd3unsFofte0hTwViHSLD/TZr3R5U/ld+qxHnAerKFslkbsRUjRZE1aLQppyc2I7ia+/vOb92NuSAnkzNMjokkatt2AgDAUC7dgaHDEnCXZUXr9CB6HsUlhVsIvfXydxbSvTR6BYO7bCNyDSuxs19M0pFm2fstZTpAKurNMZSGSwA33/zBTLJDT3iszjbkwRWLdR25G5UQH6PYygM0pJnI0kiMDnZ6ObXJVB4I5w967s4f+FnksqVEUssNLe1tOc1CuEuviqityxAesusXp3I0OrMvMYKuYixco+gujPnBMA9/6cgMAWN6AwWuMudyQAt5vvOp9HB69OEFfAxrtx8QCP8VIBbMPOT9AsxCF/dc5+IwE5ZLoSpnL6zLSBG4eDRW0w X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c3c105a3-2538-45c4-7260-08da60bf9faa X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jul 2022 08:55:36.3551 (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: r4RmNpW+fxcsn99E+mATOG2zZag7zw6ke70Hn8OCukwmoWz8sV9WH9eCJUXWMIOunnAM0a4FhHvYEAdffkHCoA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB6503 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Peng Fan Add interconnect property for hsio blk ctrl Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index a36d53914a24..0b165f98a82c 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -1108,6 +1108,11 @@ hsio_blk_ctrl: blk-ctrl@32f10000 { <&pgc_hsiomix>, <&pgc_pcie_phy>; power-domain-names = "bus", "usb", "usb-phy1", "usb-phy2", "pcie", "pcie-phy"; + interconnects = <&noc IMX8MP_ICM_NOC_PCIE &noc IMX8MP_ICN_HSIO>, + <&noc IMX8MP_ICM_USB1 &noc IMX8MP_ICN_HSIO>, + <&noc IMX8MP_ICM_USB2 &noc IMX8MP_ICN_HSIO>, + <&noc IMX8MP_ICM_PCIE &noc IMX8MP_ICN_HSIO>; + interconnect-names = "noc-pcie", "usb1", "usb2", "pcie"; #power-domain-cells = <1>; }; };