From patchwork Sun Jul 3 09:14:45 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: 586950 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 0BE3CC43334 for ; Sun, 3 Jul 2022 09:13:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232462AbiGCJNV (ORCPT ); Sun, 3 Jul 2022 05:13:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39846 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231587AbiGCJNU (ORCPT ); Sun, 3 Jul 2022 05:13:20 -0400 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80071.outbound.protection.outlook.com [40.107.8.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4FFE1D48; Sun, 3 Jul 2022 02:13:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Bww6PzqRqDFmKGSzSiV7r9EGRbZe1Ru0Wb8z7V57u3YpZZjyHBt2LFc0Q/ff97rAByt4VZQ7pJCD1/Hh+jN3YP24r9g00tCt+gOEi2FfwoGoqni+VpgXqmHH5oC1pj8zOzKSo7cE5U3yXYdIcayzLg0APRW7S45eKSApFVlbVvrMWjXi8GnJh2D58p6aHxHyOWkBkXwsic0kR3fCO3ZB4vpAalxd4FnhMbkgfbGSWOmRyis3w8r8zKz/cZlvsYV2TSZlJCZfNLLxiCzbyPKuWNaWmVaWI6tSkOdnvWZcAHm9QYJtT1ZAGtXqswGhqxLzHjEx6uiSYD0x0jjzzD0h8w== 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=H5HMdJ1CFGXOSKxONMGV7VgP+InLKYRqcI3lbYL7x4kzNXigLzgqXrt49D/I+ybOkJDl1upkc7iIRwovONzKRj0M+LFChLXs/K4NMWEspUGkNGYRA30B310Ovxg/pH49e2iiPzSHc+t80Cf6sKSH/A+Wm2aEDZ/Bg/tVC1lLwfG1o/gubcqZQ/z9vShu1DVvRcv55wTroY2Liz4O38mUiV75Doj/8KyJ7i4iJM8ZZ+dP4p/1tQlVMRRRCi9p7KFvAoOYIfAs9dXpaB5U3R+X0+DLskwtgYTGRbupzxUq8FpyKLLUmehnGgQ7Mg0q/MeUFP1fi1HvRxJK8hbFyHG3LA== 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=XY3pI5t9aAhgxSRid9GzPaVfxJGB1WzcC8WjjnPg2pf54zipCGY88oJXDyvmQqUIhJcqWfBkCEpPIznbeSGV+iiv6v34MGpMz0MCNEGuA6H/pqZiiV/QqMn+5tAIQVfxCDUxxwq40qoRhbv3A0YXd6D2UIsGmj4Y7t6OiwKGDGM= 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 AS8PR04MB7768.eurprd04.prod.outlook.com (2603:10a6:20b:2a4::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5395.19; Sun, 3 Jul 2022 09:13:15 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::fdd4:8557:334b:180d]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::fdd4:8557:334b:180d%5]) with mapi id 15.20.5395.018; Sun, 3 Jul 2022 09:13:15 +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 V3 1/7] dt-bindings: soc: imx: add interconnect property for i.MX8MP media blk ctrl Date: Sun, 3 Jul 2022 17:14:45 +0800 Message-Id: <20220703091451.1416264-2-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220703091451.1416264-1-peng.fan@oss.nxp.com> References: <20220703091451.1416264-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI2PR02CA0005.apcprd02.prod.outlook.com (2603:1096:4:194::6) 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: 8f05e16a-4947-4959-ccf8-08da5cd442f2 X-MS-TrafficTypeDiagnostic: AS8PR04MB7768: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: 1Y1CCw6X3as9QUs8rRg+bpQF114a5SsoYwIqztNwQLpo/lDKRgxDzOF3wBJsDosHqrF9myEYu3jNGaRLZ/IDdDq7ILX3N9p15565FWB+iI5NqRz8qT0E0StooOYH8pRRvhg8L2inog0vcbXu2v/YT/TElcQ99bqHl4Ykwm6GML1NgAg3lSgqUPU0zF6q+hw7SxL1iV2+OR8H/M3sfYaii8n4IgTWb3ElNYYRcLiGTXs03QqXqUkN3VBnjpGP4mXV2sAfKdEnlPLlUeTkdstn7tzBBiRWHoa/Lb9aV6T0N1UgNkN3o7xx2qKMXXCf/sOIEtHzkdRR4mzddgEzQdve71l6VHD7xUXvC9h09I2L8RwcLhYClybkF7KLtrJCeELMDVYFREJcGwVKNVn1ds6gyPGrjoPMHia6fEMSSN62BlOP8AAPQk4Wn6/BfsmTsB3LVkfraLOedu1Fh8j6eoezE11vivqvBhkEWj15AGacIBmmjWGFL7evHEz9ZSxbsjZ1Uo3N7nwGjMRnBtjYOLaF3YaJHyDbldqa+F/775+BnueW6IaisEp2TyhB+jpVtBVgkHN4r4db14QIlxAceh6hobP4BpHowt5Xqt0Bqc3ld+ualpXOo1Ka5nIqtI8Y/5QfD55ZIAY6UTH97yQamjEvdizoxIilGcyb/5T/K4maxcll8AP+OaJEkFq9Qhy+ay6IVI52sX3TbgOXNXonxTJ2wCsgjwIPtzx++cOKKOIXBbgaVHYtfq1It4xgxCRhr7zdkTqBIzFSbTSBuxvzp6HFfyzfJyRB5K1q1d77IUP+/MXe0xK8VoKzkE/uxI1NpAmv2+B33Tho1uVhkBLyjoYuNw== 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)(136003)(376002)(39860400002)(366004)(396003)(478600001)(4744005)(5660300002)(8936002)(7416002)(921005)(54906003)(316002)(86362001)(6486002)(4326008)(8676002)(66476007)(66556008)(66946007)(2616005)(1076003)(186003)(6512007)(26005)(52116002)(2906002)(41300700001)(38100700002)(38350700002)(6506007)(6666004); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: b+JLIckqS4JsTFMVhSwyd7RamNLHldg0Fnilq7+J7ggdheYHHxP6CyUPW3b3DkRqKwrrlgvoZiLEqEpuXZpi58hVdHNDuliEEr9Oi5zeznv0GCSN+AAEFradukmDhZAAgqro7G1AN/bjDaM2LYAXpPJwvuGWCBSSNztjBMbG800797bZIk+Weyz0PlU3NdzwGcHasV6PPKMeQ2MpsyZuXXrGux6EBFSrUSXKu5ajJCMxtcTDd/JeZTtqrpSsA5XDnhktWzgHl9tTa/Iu2tMIpVXYDItm0pj2GLwWYJtVisgq0JKDpvtfJ0FNqKZvrq7tX9tLWxCMOAe4d2naCMTTHJWvwAOA3MLdq60oq5Ht0lAM7Y6+dBiaxGT8JtQk/kGxb0CUWWnwqxrAcWYi6O4z7cbUJsOpA+7e6GMgJt04+LkpDJFMFyGnOv3y7uJr9YMRf7Kj30Ezzg68dZHXPoMOMg5LIryeCuE50xsMZ2hwTeOc1AzJyOfdD/bR2S1C7DUerqL3/OzJ1kjc7R6cMhqr5AfIawfVxLuNV32TxEdgdmjILbJeDY7SPkqaJEEepUIJ+DvLn+NJy7d78rlHUpIC7yEwnnhu4/MlmFBS/o1N6n1q0XIcWyp+3HpFKm0geVP4MGv6IpYVyplcHuBRT/QwhytHS2YQF1OVeMJNF0I1fjc4NJSTFI08rW2/mgMxlJEUaWgEoOA/NSz8DgzXBottkfmyBVOLQ90tqwQ+s5mdGmlj+kFLmas2PfaBdelh2Gbg1uA/BDfdjDznpngYeBYEUTqDIMJAPqj5SUnmseUHv0HXI/8q/MyUznNBKJ+bYF1Elilna9ou+m0eWa8lOfntFMDM2Y+NXjCoG/KCVAN/W2B1z8/F/EInIXtVzZqvBb5aJKTM8Cq2pWD20jyqsNrcjlI09CYbq4M1/8HL+ORMxgmt2xpzjJ86ouPZoRfkDtT02vCyr1pEeN6Ip6JsJ7KpQF+bRxKivKktZYiK7wCzNVyiuhhJYhA/pMh5Ll8mKOOcQOlv2OzAB0Poc5iVLFpRddIOhIUuvIbVRm4AhSC/khFoqCYnGBFbtuLfF/fcX6pRgAeYbZFIA0+oMa/GvfxGb9IjD1yBGDpQZUsaTa799en2EpDCyx9sNB0Yxo7/MsfvcXqfwyvYQ/zPYo2Zhh+UhkBAUkHjRc5DWNhsvHkdGfmGlAoclZZMbIogZbrujco8N0lTLR5X2DInlFiexWVwi99Y3EEZyZ6ttf/+wCoGTzqJ4sVwJARIbY6hjuo7hedcRqIL18emofIptPJ48bwBqr6QHXpx3FReoAVScwS1l/HvQu8JEN7E0jofTtYX3woFhwXWAgYs3m6j579PVxsWqPso7isUG+dZhIcUdZISeWm06Z3ONtvRgtjMQaBphx6TCOp4u2fs+4wAWQpuNlpnjUuvI4S56zC9SnF/u0ka4YM9pX6znoxCXtu+ZxFksRak//1MPEbfBEQiOwaSpIgKsWpRS2ecTQdosaPrf/LLA32d4yGRTepVTafx3LBTQsUeoejtvn114lhYnbGFTNRRY86Be+C9Xzgknjh48bF1atIJY61QfwJ3o3nuVdfNekHh X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8f05e16a-4947-4959-ccf8-08da5cd442f2 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jul 2022 09:13:15.5344 (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: 4B7MV6O9H8BRAZy2H4JLsFvfeivz/IxpMARjdUbFc+9/pf1UfYrwvaQXujP/DuzkGKBEWUC+Dqph1S+ApPsZ7w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7768 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 Sun Jul 3 09:14:47 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: 586949 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 08DFACCA481 for ; Sun, 3 Jul 2022 09:13:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232543AbiGCJNh (ORCPT ); Sun, 3 Jul 2022 05:13:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40226 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232635AbiGCJNe (ORCPT ); Sun, 3 Jul 2022 05:13:34 -0400 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2055.outbound.protection.outlook.com [40.107.22.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E05B4271A; Sun, 3 Jul 2022 02:13:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=muS95gZ0I29WCZY5uXlDzuIBm8AmqRMaMBEJrmTL4T/nbeNe4KTn4rJoxR8X/+VKB/xr74jCAtmnFlFluUNNAsTNca+FBAPdJ96h6l1TNA6NMtm11J2yZZ3D2xsjURltTTBpt5ri2AcWiKzdKssxS3tlyHtqKX7wS4KiTkvJvRwAJA092AEkFnObd7OIS3EQCsbgCRnLJk3A1af+vTs/mxUbxovJWQSGD7XlRpe9frLl7iP1J/Gbqnok3r/jQv4AAi8p+xRPUWmGqFra5j6OMEuVQ9qQWhgMOk7cuWV/vNWp4g2J6gxSt5Aq8GSVEx5q82OCioQDvseuIced6/szjA== 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=NarkzyvJi/8vpC4V4jZZAReP5tkg8ELQAJOP1Su2DVIJ6pGSL0j6dmQl2EmeASQv+ZoygXQHGcrgKlM6GtFlsmiCaV9A+vMyNejpTlNzsThD+tjQmKwet/rXfEE4OvQdKyrHcritFGWkoA0xnldj4klWU8NyDhxVCvBkyNFsbF+/4ck6qISibMFSEZbG7ZZ0PTmR2EMvu8Hx0FCKRmH1Wp369QsRFzZFQs4zKdSiTSeDFQZbWtwktXbz4ctOmJsFl+MTqhjg52tEn2tcUbqgSUvXk8NXmZ2l+KQ+FtsORmrI5QpndnugWBJapQek2aDTPTE2eZYQUGn8hSeBF+OvPA== 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=e9Qdb3JsYHRjsTZpGKvaBmVMJ8qAULuFuiP85odrcOAG1eA/Q3FTbKNE3P+bHA+w/+df+3qeaWwN1zM+gauRjlxdUNUzhv5nmFs4Ejl8glXDPiaVTMNnKJetj0TFUB+Bv6LiDX0rkZNbIj8b9IQnOrHLMQBUx6JTYjTmW40UbZk= 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 AS8PR04MB7768.eurprd04.prod.outlook.com (2603:10a6:20b:2a4::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5395.19; Sun, 3 Jul 2022 09:13:27 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::fdd4:8557:334b:180d]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::fdd4:8557:334b:180d%5]) with mapi id 15.20.5395.018; Sun, 3 Jul 2022 09:13:27 +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 V3 3/7] dt-bindings: soc: imx: add interconnect property for i.MX8MP hsio blk ctrl Date: Sun, 3 Jul 2022 17:14:47 +0800 Message-Id: <20220703091451.1416264-4-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220703091451.1416264-1-peng.fan@oss.nxp.com> References: <20220703091451.1416264-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI2PR02CA0005.apcprd02.prod.outlook.com (2603:1096:4:194::6) 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: ce832251-97d9-4eed-2974-08da5cd44a47 X-MS-TrafficTypeDiagnostic: AS8PR04MB7768: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: ds2HO1BxIaoi5hURp9VgQs4CpH/vouWwOQk6iGYbNv03qegWp9oYdiHoRJYJSayP6MIlGflFZoQnneRx5SheT1v/ceO3IkrnFzrkzz0YkqY08vbl4nl3fjrtt27HBB7tvgql/lFPxUa8lTIFqUQf5uW8HLHeXtq9z0n7D6VZ3s4E4MB6BYteNZ3O5LNT1A+KczubaXaPFSwWnWt+lJ86JOxxja6xtMDVdVD5yWQ7f6eRIH5qO7sSahBkehlH93kjEr8onrGpdEn71hA86ss0nytT9ietHA0kfz8qRor96OxYjuXGDkmYNnkjWHX5698nHcCuTO/FEnBpgnuZjhZUmykpEAOmDdJCYjO7O7tJnGW5rqXhzdJcwGd3282xwdjCEeZCr7NW+EMkO7+ncKgrLTc8/CRzqG8QNJkiYVl8HWtKzEhXTy6VOU1gtzJLWGpxqbTdUOZrBiNFQLB5O5rMN9YkjFCfGBXqU1ysA0xjQPikPvm2lYPPLMS88U9MswU8UJ08QZv0+TyrTZqftliya3GvUJbaOZc0t4BhM3QZI0kWXaIIQpFf0MtaRubtqiUDXio/3WYHdRwcHw2UJ7rExi9HF7yhitTrAgD5khXINr+48fuwr+5GMUgdFCaMZxinhfIIRZt8K/07bRU+FiBhb9GCNC8tHrI9nCkxCu8OHsxRJfFrYWDPwGdKjY/xsCYeDjEXvNAljAfN0X5vroiAd7ZE4WQMnyrYrPnVhHjQXidard/9ZSBxiVBiU1lexqrhrWNUWyvVV/TaiHhhsnxbSMGj/oaaxpQlZMVqpcewf662Y7Kuu4BVcIc0CwJyz0vcmPR/UiB6RSETf6wEXOwYRw== 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)(136003)(376002)(39860400002)(366004)(396003)(478600001)(4744005)(5660300002)(8936002)(7416002)(921005)(54906003)(316002)(86362001)(6486002)(4326008)(8676002)(66476007)(66556008)(66946007)(2616005)(1076003)(186003)(6512007)(26005)(52116002)(2906002)(41300700001)(38100700002)(38350700002)(6506007)(6666004); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: ZRAx/KZquCdd1Q5E+xfzJjmwABntvLLr9AMKO4q1eNTcUszZz5emZ3jssv8MiXtyWXorMwF+DJGgIaDsaB659SVU81/J7DToIroYO56pASbLXV3s7nIkYamEcrGSIhq3btexd7k5PzVKZE15/7iMXLxo7PPYje+dLQabxJKCj6PeaThSKKkBh8PR0lfxFVpTeKQRpgJQNoahCFw2kDQDeVTmnzMX0wcN+s0UOHxmOMdbgzS2ezhrsTz/GrXPiqkz1ZHhQinpdznfGuvYuU7hY87hWUzuW7ug1ks07nQ8KMuHolSe+d/R42lDQ0Tr2Ac1XgAhP1qo8I14zc68fqRKa4iV5NqrsfZZ/fJJPa3sOmbseLBRyzTg943zqxOiRe6y2PXyiiMq+ViJffBvEm+7PuV97UJU5N9AMWEeJLKjz7ZVlHXgEtxQoffsb6+6aXz64N8C6q53+kmJfGlXI0TF80kIKUM3nfk7e9Jm2HSO/ckNwydnaRb4BaKPQCKW5rySW7MhpQNGcYXgALT2ZH5YQhocufz2GBjIwhfEOYkvJzFcWhdkZyarj5s5LoxgcVdi6aNBaiE10eMSR5q7EgKfrSBB0cReau7RCWzOqwJc/qasn4bwqwU8Y8vk3zHFv6oGJBjkhNJNPOyqw6QOOO/A1gg0rwcVKB6WQtIFBKMuwJ2+OAPGrqGujsoZUtQLvm88xIxjRC7lOZyl73lewgVBZ/dCI/SjmSfZIQtQa07SHw2dRxxbMop5BlPZcCGexw6dhc2nU+QlTsiCc2wsiWqtK6jeKkvCIV28K5HvkxnzrZkNDiWrCZAKbB0iZyXHyFsrpkfEdDg7RRj0C0bLuFUO6KqjXWrI90EHFkzooKaQmo8fHRA566sXsK7TjvR/DH+SLfWYeXM0qDq+8lM1xBixRe/y3e+YZtQ9I5u5MCnxFULrTxgSs9y2KujysIZzSv+TQt63SedOMfQsXCKjx9i/P9n+O5F+XBKpT53N8RF/TpOsK6pwdxKJ4r++UznS7mbb9nmCb5Sr4WfA+VXV3q2zg62jndYZqFxnSc7eq+BwffYWw2M6AxcptXEMDuGLUEbN2zuBnVJyzpFhrmaezLN+UgQDjpSXdCrT/xcan8Ee0FQZSeZ/R2lQvcXCXVjItEKVq1YZPWUCZL+SEoVj37wrnACi5fzQhYy+C+Rn6VNdLMHYXE+13o3fYaCrqzgtwTnwA+yk/hcCRKnY2Pn6fE9yiz3z23EawpWkKsczJrsVZHW7Od/2AQ6hSrTxnXeCckEhUakFI8uoNOxO8En1NUDJW+fMEwVv4QySikD2mV1VmQ5zScYfKkX2hH7dkBoNazKokvh4J/0/dT0YFvi8yhBitlbxLMHsad+9qr/yMx741mQZRHZCRl+HYlq99ZNyWbP4D5BS4E3ZBfZaUtBYz951PqqQ3TyvAbLvaqRuSuYcsmcgg7fAGMEaTOUkANYgTim4HpafIzbWqrauj0MtXoGTTzoPFzu1iCwxuZ8EDlzCrQN/tzDGrOwPnoL3aC9ocWY1UrRruz0d9hp3gMalmJJlylwkTx7qcylBzH1UlyLoFeeFTmaEkgGsGF7QJFlamTYE X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ce832251-97d9-4eed-2974-08da5cd44a47 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jul 2022 09:13:27.8471 (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: Ih/DtAkDgTmw4ql0lHz8TfRsAlzJbpIySu4z0QfKv6DWajuKCLXsr2dHO2YMP1H8KqHTou5rmmgkrOWpLrbK6w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7768 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 Sun Jul 3 09:14:49 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: 586948 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 B98B8C433EF for ; Sun, 3 Jul 2022 09:13:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232679AbiGCJNo (ORCPT ); Sun, 3 Jul 2022 05:13:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40546 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232694AbiGCJNn (ORCPT ); Sun, 3 Jul 2022 05:13:43 -0400 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80049.outbound.protection.outlook.com [40.107.8.49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 05E3E2ADD; Sun, 3 Jul 2022 02:13:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DiTItiJWLp3LxZUJSZAJtadCMBsNVUBkERz3KTo9OiLHxOha2aGS5+ROz9CgAXClkA3t/qLdG3ATlO9+0Oq74QJqfUb+yQT93lPsxHI9U5agDM3dxdJj9y/aTfC4WFTbN9TfAOlv0eklEbbnMoNDcHcqtnEwrDlz3PaAfkI2HjY2q+uHdecy8cJlDi1KwKRMIu/q8YjiXDl/u4Adx47Hl9SGLSdIzar8KtoRridPgsOPGY3gtmDLkhNnqpE5zBMtCf+ALjR7d6M9DKeQy16IYx803ndjky4BUtm96GRBy47mR27dxrpNqjSOqmh3oMmZbRcCmz1XCT9Xv46n+lmEBQ== 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=JlT8IDWQWB8kaf9bSAbqUTU+G/YyaYY+s6GBarMb023N808YbnQ2N4Xh+RiHj3E7PJPLpnGwkm2V0RYscMC50drED3HsGWkl33x9loUHZN7AMY/hGDuS1ISMu3s+c+MV4zUPr229pWBxKPmFCg6ltu9uY7v/CMbgwF3z7JgB1yT8x57jGeDJQoxm561ZbBaskA30Uu1UK8/s+e1tqY6KXI4wB3Mb3JQv5EfURMzyzO3o2Y4dMtDnUfho3KmA8tFIh1g6sHdcW0hf4Kan7VW7HKripJOd1G+WT+vrqvT5uHEQZQALcxbi4pvcUD0aazzWFuWMQjggynnorR+oavdIYw== 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=U2ggaifueQxSB9+ZtTXdORuh21+S1q/o7/bYLr1pSwuRjKdpKDSH5Yfe982LzhXab/2Be6q1x+/WF9RsbxTfQxrwg5tjcZk++TkTsf7OAgvJLwbUZV5jA44KUzPV4xDXyKL2KR6ZdrpcFhq/WBlXh025OV5tiD45sAgZ9er99tk= 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 AS8PR04MB7768.eurprd04.prod.outlook.com (2603:10a6:20b:2a4::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5395.19; Sun, 3 Jul 2022 09:13:39 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::fdd4:8557:334b:180d]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::fdd4:8557:334b:180d%5]) with mapi id 15.20.5395.018; Sun, 3 Jul 2022 09:13:39 +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 V3 5/7] soc: imx: add icc paths for i.MX8MP hsio/hdmi blk ctrl Date: Sun, 3 Jul 2022 17:14:49 +0800 Message-Id: <20220703091451.1416264-6-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220703091451.1416264-1-peng.fan@oss.nxp.com> References: <20220703091451.1416264-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI2PR02CA0005.apcprd02.prod.outlook.com (2603:1096:4:194::6) 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: 68d7e8c9-26c6-4737-f1b6-08da5cd4513c X-MS-TrafficTypeDiagnostic: AS8PR04MB7768: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: zhTAr7MOJWdlpD+2k4FM+ys5tggs4bxhWhUKnQ5q+Y9MxdNtWUh1RppC6HkTfddc1KNf0lfw1AlKmNM+phTtZn43NZVHK0wII+gploExqTIqp9vr8KlCRiXX/ZkIFnHkCzCOWdJz40FB1iu5o0qJbMJgv/bjnkaTJOsV6xSyNuJcDaBMalmH5mL+4wT47SPxDidM4W+qijyqplo4YcGFAqgab+0WrOU9vCDVKraVqnG9GMtTJvSHTH3GrC+lbG83m4UWtgpVCRNDuvTiIH2BwzRZHCEtvDu1GbhQvHc0i3umo9kwhqtn88ScDbpJa7iwM4py3VLrd7q1KtMyDCwdNvrfBpTLY6QZS8M/rDmfegmsXcfVe9qe9qW0FJpuJb6ENGhz59iDYTfn3IJq/NVfq+W8uk2g0tNQYuc6c3KTiwGi/JXVEyNxtfq5Kht3CDtQdffy2jT9Mkp+vMBbP8Gf8Olgt1fHBh2EX5KZA2bTC46jUGokh5HB7gdmrYIPpDIRT3S46B7A6IExZoqLopRsZMTN6gRGuP8Il1iLPQ5u/WuEYXL3pVVhZ0nixrlWjaSjIxo7E+ML6OS5LuoueP9lLDXhV75WWUGm0bRfh31jjoso4ilsixlHGGBZDBcYtTI4yW/kEWxVIt00TMYTx4ac4+sX0XzOQ5CJ4Dp1gMYBrX+Wvymrrf7vgC/PZhtFWKH2dx1WHFBSE3TxX9jNfTbU1LZQxm0hPFbph9KuQ2NDSea0Wd8rhsVQJPOJUGxkEq98YhnKCWiRNlqNIsjWv1LFNUlB77sgILTieLBfmdN0STnWhvi42tOvdTVoi+gk7Ku/+Q4K8yO+2NXy/THxPJ0W3g== 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)(136003)(376002)(39860400002)(366004)(396003)(478600001)(5660300002)(8936002)(7416002)(921005)(316002)(86362001)(6486002)(4326008)(8676002)(66476007)(66556008)(66946007)(83380400001)(2616005)(1076003)(186003)(6512007)(26005)(52116002)(2906002)(41300700001)(38100700002)(38350700002)(6506007)(6666004); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: CR81HfM0ACNBMZ7K5Kv57lANVlMt4/iBYr595PLWSi+rIZVIyr1pYN5kP066dbKv4aug/WF8/zhj+7i8pNafS9E2GAuJvT2jT+/EUyQRO7nwcjvw9rKr7STExPoWTKik66l+X24ZdVXWZqnyZ9bg5s+7LAWFXyfZ6B+dFUHv6gLB1Eg0X1GLM5WqGcBJdwZhVo1ZPY43raN9TXVRlV/Ovnw51g9G4KFHlbqHXKLfuRd4l0ka1gQ8UzLYxR350DbTRYCT6Wbq6aqK3Ui8LXwmpmshdIB3N1LrGzzFheg2BZoACD8Zw5jOe2EfwIKU8A4u5bQiCWWEDWYxU5utMSQ/4SekFzOju2vpO5m7+BaY9vTt7OWI7fpzkfULOPq1O61Zf79GpLEjtA3Aq6no/bU1W5TMiaChIXVSicC/KAg2V2XKE5hLAmc3I4sGUbIIx/CyAF3ebQHCDHPmPzSdcB4JXTG78dbWynY6pZeuulj+j6TFgWv6RkRfX+s780Bqh+yUlBUzQdWxdSxWo591R0V0WbGJtop1bizkxsU2PUBrwgxyfASNG+pxSR9pKA4otOiqfUMI05TnnbEsAgccm2QQ6VRJ5i4xVjOtMENJJI0yIWOowCqT90bMIKRpZl4gKmBZEmBBMKpCOdNqxtdcvL9d3UVUBpKhOKWP4LoR2nukcRxiIo57N0lOdL5gM9rYMw7XpcFWI5HtNbZMOHAlQdQpqtF6TPpEZvFtHAQXXq6UE2dColqUC1M4pxuXr3dsM8EvMTuVyVMbtVEoxTCpaeya63zVid7OCaTMdtQGlJ5kWSwSh25SLUetMw4ee4elFjDHTVo2ezMCclt/Y9xMZn4v33ZBczzXuLB9GyC3zrAxIULl2lYorItxt/106RljW8hZx3a7vis6OmgxU8jAo2jie3bX6JJCbtf1/Sx8yTxUsltVw5XCeeNgFcvM5Jh4VzrhSJdmGiQd0QY36HeSgK8cPqf8xzijpQXGTW9e48/zxtTqD3AMR+ilZ2nxLvEuoiBG1lHaO9q+cCQiDdxBCobVkyQD2fdbAni6Kp5ndF0027fTuqKj7xMYPuA1L86Zfn4Do44anlflqKyfZewnduNWSfwsRkg0Oy2+zwChycAjbF9FkncRIvLq0nPh8fhTPhiJRKp6gaUxAn/lwFkEKOou8eoJAHWkpfngx02UlO8allzDKSP0k7ZBw90C76aVxVXGW2DTKU2821nKU9VniBV+nyIHotTXT48WvKDsJ06E42dR4mU9MNNlPWhmTyLAQICnQImWJZIS/SvlXdq34bLupjzDkgrYsrEZDTyJtRlgzKZCuMIXICh79qZ51mD9yVUCqWtDEozSMSvSBmpmw4OgnXxhQEdvUMFvhF0DRqXO1bIeC8fwL7jb5gjpsNstbLkpCV9oDaP21RNG8u6kP76Z0Miu16vCzgMdwgcTnCVIqwUwFLiGhOiSqOjB910wDoRXALT0wSvZAG2U6j7LCNIomznQyp1zJ7mpDyPeeMexaz5fD+EPQBkNWr/ewXunbmQnhxXpT/65vV5Ca3ZavBchCkR2ji25XCfcXgSqbkD6yY8LWlEoHBcaFHq3d6wIRW7l X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 68d7e8c9-26c6-4737-f1b6-08da5cd4513c X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jul 2022 09:13:39.3991 (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: 0Ruxea1xvw/0exi3OwqO05WkdY98OlbNsoccCkGe5IJer5v7jaedDW7hVZaoK3b/SNlHmvN0MGuKKK721sl2yw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7768 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 Sun Jul 3 09:14:51 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: 586947 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 C6758C43334 for ; Sun, 3 Jul 2022 09:14:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232776AbiGCJOD (ORCPT ); Sun, 3 Jul 2022 05:14:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40890 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232782AbiGCJN4 (ORCPT ); Sun, 3 Jul 2022 05:13:56 -0400 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2040.outbound.protection.outlook.com [40.107.22.40]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0AF0563CC; Sun, 3 Jul 2022 02:13:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SzNmhtMbzy3yWC3QTw3FjwywsLV3oRoUe4ID5YHCYDZ4ZZP97KZTHoeyEbhBmIzphQCbSG6/CQB16aC6srOgNklKi9GCRDUJkJr0vwlaQmN1BjGMTBRu+qyexUYnmY5izRmMiMSrZDMc5KN8W6rX7SpzaYD1s0CY4DO30CR+UOK+mOHQu68d9QEJU1xzdppZAeN3jZ6W1OIV991mEG04u1tYFI1WSPtY/UAncSjFBQbE2S4SOsagNOUbivD1wuyPzsYZ/hlBJ2zWcY0ja74eIYHa3p02Aa5mXiP93l6UT1K7HGhg8nJ02t3ms8b6KZPLqOxg7UAmYB5Xg8MTez0/DQ== 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=6Gl2/EPlcXP1Mp7SUNao7Lkppmwn9KkEHDhQjQB3Les=; b=ZcVFlRjxoA24pIKji9xWAgllnfv6S2WlffddzkprhrQ1PhyZ3wjxS1pGYn2uNMqjYn7VI+qlVdSBU96Kob22es1IA+KfsnXsvSSI/IvUVIWFeuafQH74M4qaXdYhwFOGr2nagfQ8ppb0C7xEa+C0a8DYztg8PqJ//Z8ZYsSZrlDyjO+gxTGEoUHV1DZXBm6uN69BZRO98B4+A3LCtnRBm36KeG0OJXHFBUyUdWwYHnzcBsWuYtHwaM4wyoQVjAVmxphPheSvItNYJE7NLzsr/hm0m8T4ejXjQHjT59VxkoJCmXo9hnumELb3RzhfZrEMju5gL65MRXdXtJDmoFg8Yg== 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=6Gl2/EPlcXP1Mp7SUNao7Lkppmwn9KkEHDhQjQB3Les=; b=YFs9xeHJnM5Ya1jFUVsR93QZEKn6ZLtIBtOQQ+rXJySDrW9/EZsp+wGanaNDUkp1CxNdudzA+6YZQw2JcVVbYQS4u6+gKYLArvXChi0FXidDkSaqi691AeZGKTDRjZuo1hvkWRIkSmUinjbT/sYFTj33rF2FTYGe5mToUTZyw2k= 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 AS8PR04MB7768.eurprd04.prod.outlook.com (2603:10a6:20b:2a4::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5395.19; Sun, 3 Jul 2022 09:13:51 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::fdd4:8557:334b:180d]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::fdd4:8557:334b:180d%5]) with mapi id 15.20.5395.018; Sun, 3 Jul 2022 09:13:51 +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 V3 7/7] arm64: dts: imx8mp: add interconnect for hsio blk ctrl Date: Sun, 3 Jul 2022 17:14:51 +0800 Message-Id: <20220703091451.1416264-8-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220703091451.1416264-1-peng.fan@oss.nxp.com> References: <20220703091451.1416264-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI2PR02CA0005.apcprd02.prod.outlook.com (2603:1096:4:194::6) 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: 47f80a13-2bdc-4898-e2fe-08da5cd45841 X-MS-TrafficTypeDiagnostic: AS8PR04MB7768: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: PQ663PT5oX84hdvXCo+3rWNuigWcPaMlLEmsrf53KMR3r95mOPc00vffS5wJrUTxPCQ3XZqHOrBd73taBWUfZAogV5kbn4OZXM4Rmm6bgftGlCCK/C4PNcmQTrGHZxf721RdouTiFLmGa8Abhvk9O4p9CxfmcA+HwwpjhiwOxFofkSxM1bEynHriWUA5hcqLRDNwuywEURexsV0aXYpngQhtdaFzsYxi+v1LPDq24e7fvlsZO6YNzUfUov1nvGY6Wow4FfThC2xGl67hqli4TeMw9r6dymQ4ufbI68RcXoYi7vFBZ1bxT/JHVkEQbx81tqWkOOChLcQ0DZCBxtW5JRru5p1WJz/DHMWCW488hOvxYLv551xw8RAILVWiFRfI1DQgRtVEN+zZRHOcsgt96Ybg7OHfuZYnyBH1VBNxNfvHfn10lYCcMRC2b1ZkbMMnO5DEUDmeJFyQcc4bthbVU19ix0+7GviKn4p89WjYXyKSqCLTesT5acmGw9yOtYKUrNUd500g6cHN3WebJ28nHjJ+MUBwwiWcebracJoWup0wzwWK0mWn9brTr3L7w51jCWtYUnruPPaVRpnJOnXUPTI9tgz6ROYyDiQr+t74ecPyRHCluJbjiNhAA8HEaJAq9pwjSjYjVM6c9B4yIdH6LjUhA5A66bf9D56733TYDyN/+EMs0itckeMHXZGJ+vLAFgZONzzJ41M7VIPpY9eUBCRYSwnmASr8vld3FKXtP00N7l/Nfezj6tKrTiILi2OcnTV2nsSqO5MBM0QNuK/7ZsOdlbYMwDpN9Oj04f8goUzbgqqnHA8WDoQV7esN7tm44Fz/R4TEmEojvPOBYD/roIu9aUDu7NsG6vetKu6IB4A= 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)(136003)(376002)(39860400002)(366004)(396003)(478600001)(4744005)(5660300002)(8936002)(7416002)(921005)(316002)(86362001)(6486002)(4326008)(8676002)(66476007)(66556008)(66946007)(2616005)(1076003)(186003)(6512007)(26005)(52116002)(2906002)(41300700001)(38100700002)(38350700002)(6506007)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: mmK2hBZ8R+GJz6apOxrLqvUAF9aY4LvF4n+s97OeEzVYeCF3eImqyhwk9IGxb/U7oHv/etp0jHnAJLmloAqHeHV/V0dzTsYRf10WafjGQyJ2wjkq6pALvFMqEyG0h+UT31RWotF8f9tUrI6N4UfcFqLcB21+tPvOSzVSkVJaoQQIZ2/U4+7NncVZtFIaQ8CrDMnfgLlgAMPmurW0UfdU9Nkzfysd/ieHohHailYQD5JalO6OEAtict/45COolrUSm+jGa6DJSVkOvYw4zez45yqwIWbtSn8r8g4ZUhNUfSPOR+Oy3V8D48FtbCgHndU5/UJRB+l38WUjvTuq2hNMVVer/aU+RBKID8buYQ9AuQnr24Nv6+tAHVWMh/tJjkhUo+POPV2u8s1KKEMbRRFd95ZrsDoJxWvansDgzXS9mikApBNssOFqcw41ZamPO16RTOiruUI0F2C2III+A1LWzIoaFfLKuFt60s/cxXLkR00SKVXjXi+YTrN44sGBWsjaZF9/aQuBbugdvmODaar5x6XJlOH7nb6E8inDKfLPpQT6QeqNztw2I5ptamxGPvp0w0yVG5tkNRq6+/e5bDBWUqMBgu9u7gMnFJ4gi+1IYQXAOM2V4cAuQBXE3EBQYS8oPwpKaWzFPHYJokBSBhZzmphtu95ZjdHOZnxBVRLUOjArJg157kTrn5nLhJGOLBx4m6g2iBCzpJFFQjJVIE7bR7ceQAa7QxB/Y7TRXeJLSgd4S/GFuLR0qHZ4az8SI25mQmdu5QKAD71qcXRhR7FzmMuCb1Fl1CH/AdwKfsDc3PUiCYiL0E/kQe6EKeTD/9LQyTzTgRtQcN2nyjhJiSHcQWHR12DanRCsGuAvUOSmIfvHKY7Rr6Pcugo4cC8MUWGkRyjQC0IOI7pPDo4Ny57NLsPFNf/PFNfoowD/cHfjUWw8WJ1ruzgMJxe42StwFagWUsZZntedEDxmzS5vExd/6gJ+ZYY32DaydP0UKn6sck2nDpyAmoAZ06E7+1Ft4VFwVDXVXI2xHAnRXi6csQ8fPEuicBRY69tTP1SQLFfSDMl7tx11KQtco4BqyCixYjNVhJa0fmSA1e7/OTj6LctL/ryO4ldIRu9r7fi+OJGjIbo63aVv4Fc3/+mdhii4Kf/htPgmpCyPUYCKn3o5HugXcNc9Ms2I4W4Ea541H/pmBYXFh2/0YrQuOYIid+KgY8MkvoDMPGWI16o1+YI7p7rGZxo6CJz1pV6q/qnvuux3I9JJBvV30ZIhKNwDUKMFR3aXrwe+BSO0BhkWg5McHRT9FmdZGyNVsA7I8CriRmAsa3RVAnLlOivgFSvYXO/Ve+gul/pE0Kldl/4iS3vNGfMxd3puARXol6umCCHGAvXkuc0USonahIoNE1+RS1Ud9oKHUsugB0fOrp/ca/yUzHj3fwQ8uV//2CAGDTJVQcKVA2bJSNYfr/dC9Q2DsypuEbb9coJ1aOmp0Ro+tZoss7zLX9bI2EvW6zYpJT2ownx5R+Mw/BHvHD/AWo4lI7FSj04jUqGQ9f3JbEaD+J15paPrIf0vqYR7BFOZ5iehxTGhazxfTW5+yPFt3cFP/dCDGHHo X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 47f80a13-2bdc-4898-e2fe-08da5cd45841 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jul 2022 09:13:51.3005 (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: I9l/EbbsqFGtVNMqs644pvxCt9yhLIyEELLUTdaB7vbPPi6cfq6QHSXpGDFgMo26gy5Fkk5MHwdHAC633+iQ7A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7768 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 08bd57742294..9cceeeeb26be 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -1109,6 +1109,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>; }; };