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: 587395 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 1FDF3CCA473 for ; Sun, 3 Jul 2022 09:13:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231909AbiGCJNV (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: linux-pm@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:46 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: 587035 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 8DE85C43334 for ; Sun, 3 Jul 2022 09:13:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232646AbiGCJNg (ORCPT ); Sun, 3 Jul 2022 05:13:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40210 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232615AbiGCJNe (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 C0D021118; Sun, 3 Jul 2022 02:13:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Sc5H+QDRNPiaUg5fxEOkzX2WMZJHqLiG0tS2+r1PdV3kQeQVhOtg3LC3w8pe2pYO5Us/HszM1KeqdBwBaZoyNY6Mp9fZc3d6wDlOFpCp5V6zGqQlTbN/HvfiT8CTS+duL/x7LWtNX5GwPOH0kSQsGa/jBvUcP6e/ZckFG58QDI5kLRU1JcMF3nFsjBM+Cs/HvEEq1WCmzG/HMFGFlO4EECGVRt4FqDE70wkxLwFcHFGWofna3TMJgMTMZtTvJyQVGXUmpRJLlqdyRzMk1Da5tZrbnwbLr0dRid/yfFTGJmN6D5y5ncSG1eqIwiv1W41ez+Hw0Pd/hxO5Z6KyMDZ+gg== 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=qLhlNisqvlpwQtd5Dm08Rk/xcIL5USTSTUhDsl8b+U0=; b=ebRlRD1I1U5DUXocBP5867a9D6Uc+41L86y1f43gmENBj+xcojYaTGMO8mVPorcHHsq3eJ5m/BttQxx/E6E1bsVp6xgk/tTJCEhAEZI+Oe7zfJq44jIVzZ/ZMeQGsoF9J6calwbFDIxeEqEqybwnq5fUT/zanN4kPzPujXmJdWPUGjnfqFmGySv9URtKmeixxEhzx5yqznZLOxos6Mt4uAGS/+4s2pkFcNNRYuxXZ2/1aSzPy6+OQkO012qwP2PraKDDVYRPN7NePfxlsyOvzJmbQH09v/z/+iIj1qlf1Ttrw/cvlnmHES22hPHIpMW6KfTrG3K3oAa4xTiFHFUvNA== 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=qLhlNisqvlpwQtd5Dm08Rk/xcIL5USTSTUhDsl8b+U0=; b=kQJ3YLQeM3JlDJI+vHvrIIkL4CCr6YdvWtRKy21MllpJBsfW5fkxoYUVU5p0Q7mYnaJLl3Y+xIUcig8Ou1Y81ypfSzZA/f5TTxF5UIpNw+wJFZiYt3TShYw2t44NWTWqNIvWIguduMIaxXrqZjMnc4IyEl3MdrxHDmDMVgL0g4A= 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:21 +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:21 +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 2/7] dt-bindings: soc: imx: add interconnect property for i.MX8MP hdmi blk ctrl Date: Sun, 3 Jul 2022 17:14:46 +0800 Message-Id: <20220703091451.1416264-3-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: 87315697-6079-4dda-f057-08da5cd44698 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: 7JY5VT/A30UH3A0ilrgKSb4zTv+sAAbwRPcxQwcf51CSVCVR3gwehwFXHYaPL2du4RrYhEMLDJS9636w9Ao+4Gx/ksnUleNN4GRpwzoNyXJN/1B6HS+U3VzG9xcvamNIAlU1BNM7UN2DaD2kYYV+A/kRit5KLcXgrSzLaJyOTrOtsbIn4M89wcegNoiglCgHHkgX8359OZV4kDzW3DdqvqVBvDW2cIKKs83fvDpHzLk0SNI1k1KmMzA5G/JiLakt/QC6jbOqzsgnLeuAOfew/dCaG3TIoGa73IZeEKPC/LNckoqprU4DjuLx/pix1Heju6mpUTylA4ifvnfV7sIbbdoPEvBWdTiy1zq1/+lpJ+AfrxIoPWiPRUnhW7yaMfkFQS1yQ+gAiZ3bZGDfYAUI+xI1WBFnmQ+y/WP0XBzO/Bjri2HA7QWi8VFDM31lK7mFEIk/SMJogdquikcM6x1Cb3QoJ2J/LQQEE/iBiTaTfiOZ2PdBFogkoMc2Vc3sxoM1CY4edhgVuWewUgWpfWsa+v7fKKNkjwyr/76XxRhLRWR+RFigjqjhZdGae/sKSUBwB80i3E+4piPOrJx/3Tww0jmnPo+GHnHNEQVOz3PdoQoAa7NDQcq/+Oz668Atl2LEfxEu2EneVNQ7GLiqirNyhz74Gr1HLXNAMzFeWHrnFeTlLmF6ljm9oTEaTJvGLoo2d1VUqRshdNcp6m4KXrSVtCOuLbFkaGCqcgKNWSff2MczKMw2+FhEQIjC3CRO4L0rTTMQqfvbkil+rQrwWmGuzwrvAepMEce0l6bpS7U0GS1/+KvkVu7Ckn1DilFykUM/RT8Qr4iJq73hadjmj6p79g== 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: 9eHdd8ZyHFemXBxjQmFmpEPllGQreAmdfAuu949F883QUE9J/NWsHhU3lhbBV0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9eYzLCYVld2mzV8lwCZJsDFyjzIj2jw+nEZv/QZ4X6WCR2RSDVzhcMhZc3S60CFmnHyXJk44bRTp3WI34BwBNiAyJMScCn/qhAmmrNbyRKKrCy5tPqKIq6jmXBKVwZB7u4JTOBl3jcme6ZD6DZt1aaVgSX+prHhqG1SRpRUC2EeCRGnjjwAsC4nFgLLPp+gVJ715BpcnV8U8idXxdhpurBhp9I2WdjrT2UHuvyrF9SkFIbFhwjzHMUV3l9MAAtAp0HePNwXkF2GTxIlQh90b7GX3uZllk/Q7u0nqGj3lLeH+wxz1Z2xdLrfzsq3sZT1kKaabGpgv75jBs/1E9A1l6CFIw/iaJSHYWvfVToXmNHaeCSGPX8ORg5EMZRAbh8ukW3M3022TBsVWH7pKFlFAXtmByJ5El+IYQDKtIJck9EE/L+Jbx4hB6YLwgQ72pnyqeYc X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 87315697-6079-4dda-f057-08da5cd44698 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:21.6877 (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: p3dtHOggUzMgIQPM8Djz+18sahLtJrWwAdQeYVxeFOoe9JHgwFeI0jncc48ezvJ/VsZ008cW6CvdIrpsHv9wYg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7768 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org From: Peng Fan Add interconnect property for i.MX8MP hdmi blk ctrl Signed-off-by: Peng Fan Acked-by: Krzysztof Kozlowski --- .../bindings/soc/imx/fsl,imx8mp-hdmi-blk-ctrl.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/soc/imx/fsl,imx8mp-hdmi-blk-ctrl.yaml b/Documentation/devicetree/bindings/soc/imx/fsl,imx8mp-hdmi-blk-ctrl.yaml index 563e1d0e327f..1be4ce2a45e8 100644 --- a/Documentation/devicetree/bindings/soc/imx/fsl,imx8mp-hdmi-blk-ctrl.yaml +++ b/Documentation/devicetree/bindings/soc/imx/fsl,imx8mp-hdmi-blk-ctrl.yaml @@ -52,6 +52,15 @@ properties: - const: ref_266m - const: ref_24m + interconnects: + maxItems: 3 + + interconnect-names: + items: + - const: hrv + - const: lcdif-hdmi + - const: hdcp + 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: 587394 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 EE67ACCA480 for ; Sun, 3 Jul 2022 09:13:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231587AbiGCJNh (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+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3aC9ocWY1UrRruz0d9hp3gMalmJJlylwkTx7qcylBzH1UlyLoFeeFTmaEkgGsGF7QJFlamTYE 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: linux-pm@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:48 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: 587034 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 D91B9C433EF for ; Sun, 3 Jul 2022 09:13:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232623AbiGCJNl (ORCPT ); Sun, 3 Jul 2022 05:13:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232633AbiGCJNj (ORCPT ); Sun, 3 Jul 2022 05:13:39 -0400 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80080.outbound.protection.outlook.com [40.107.8.80]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 45F585FBB; Sun, 3 Jul 2022 02:13:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nuwMxxR+BMPo7uOYT/k/Wsx+p32lFOwGTJMSKL8fAQCjh5HrvRn9Xp76KHR0aVD0/uE8/L0ichS4vpwafXyEDOmgaYCKHflBIT9IhKTAKFUJ+SmsGXf2LNC9wrlmCyscZCHd5o8odKHdEYXScqpI3LEpZN9e0Lx3OcnU/zAOf4wCT91n0UPp3w7FeLaKuvFm3g5fJjbboUDYta2J13p9cdQG0yjrUjHDVPYF3ybTf4t4/EVsQENjBqs2JzSPNo2hWHFcM76JjQ9dTUSF/3CU9w0UV6poosu6J26kbQCQ54joctMiUoWlY5WnakFCL9Bc44IUG6VyA5fnNrUXckiZ5w== 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=aOopy64MQy6CMEomqOMI6JoOnLtFW9zU1O5Kq0iz5Tw=; b=JyDPQUCy7ICeBXH/WTx8zqVJD5oQjI/+qVUrT05YuhY3u1SOnB7oGPnirLGh0f7LwSEuSaZ60t0XLD2WBbfGUPXkFqC3b9nHx4quoXRta8U9nrXNlgco/hvvPPJEH6B2c0pfqZyomwYjtPfI9GpieazHaRfOhoDelzqDt26eEW1UC0uZe/O29x9U5xAkejtnj+pqNi1De6PkhtBrFXpfZd0NiV+ikyd6KdD77+60oFmTbG0LhKbqR5Fxsv6vzNN3GeHDlTTL05Pukc8v3VUD7YIXO/fBkWQOkJ+4LRuPchvuTzoJw+HBxD0wkDd2ca2HCBTfk+AiJH78jwU/ZHPsEw== 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=aOopy64MQy6CMEomqOMI6JoOnLtFW9zU1O5Kq0iz5Tw=; b=lVDF+XI11e4dC75SRbnXytDKe54q9JKELB5SUm83HhCEYZajWKSCaaf4SjATW0r/y4qc8ZF1qWEm62CeL3E6KxS2cn96RV5EpDXS8dFAuGDrp507u1aK7rAe+BIr4MS2HtI9LfaEtwrUTXiIYUCpPclTvYm55vk7RjerjLZ/ZpE= 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:33 +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:33 +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 4/7] soc: imx: add icc paths for i.MX8MP media blk ctrl Date: Sun, 3 Jul 2022 17:14:48 +0800 Message-Id: <20220703091451.1416264-5-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: b469541c-e37e-420f-1e89-08da5cd44dcf 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: QR9pnvVXfYMhOzGENDod84FnKLim7BO4k3UzH3GWaUbKP8E5DbBZKaFqYlpqQhZrrsGk20+NZMdwjJlhTo+vsi4S4OqVhuUu26SunKx2DdLCy9H0omRDrulA5fEGKfZuVdl9HEMyVY+J5Y+MNfi/X75QBqAFu9rAxHSqxq/kdmCkcdcoHSlW1yJFLuja72GA7Dsx/cRzGl/4XsTqDS08uzBEuZof4gAt261NryhPu2DFjyW0a3/+L596TfOoMNZPpDyTRBYIkqzu/+O5GmByBXTsomIVBpOQePNbvxxba7UlrbGCuTL3aYwg0TadyRcEixS/pXzu/YOwOeyYHqwDzAP7oJXB7Pkr5jeAXsP51XT2MqpGWMa++jeigoJdbvtsryUM5mFG4cG+3DoQ/q++kiHlZI+e6oFsaWS8T2GaowDiSVrVlMElI9i8+P9lxx2Z+c7//Z/DPVnl9YgvvQmRL6a34cj/2LdpAIFi4P0cwtYydTp1hwm0j6oHvuACaHr/bvLFkvJDhBvhMQDL+tsd6F9HPml/b6ECGFslol2A90udtz4TNd/SSmRrUXwgjlp1QGk0gvG14vGuDv4sp7F88hjOTFBoAxZ5rlc1pVImLipYGsujZkUUKXPt2XVsmlU3+XBx34d9yZFdhMX2aOOFz8LNBrsr+9v4cZxFjm542knHExJlhe0iXhd9g3nGxIwzd66gyOpMqnGcVG6zrvApv1M0yYGm0DLJVKSuX4mzIzGbyQdwP+RWYNnTy5Cx6kBFDTzZLSmF6tyQ+SPAoedGVALPjEHzWcN9vgW52dbWYIVLu5QIlDSeTHnE3LI+dDVO52TFKbJiBUbQP/QU1eG2WA== 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: 8pg48xRHHVaScBiDSsqbhMw/mVdAjJRdGjiSSzspOKU+ic/MichVxtcpHb8FKawgsryGTvTNGUUUGT/QDK8A7GrT55TRDtKpr4K4dySVpFpmUUzNLa9IU6Y2UdTj+O3jKq05cjmBX+rojrUO7NhwtwzhRn20ffAqp5/Plh8dOElZWLJkvLYMpPvZWRhGgmVeHXDMg4RxvOXPrNHuvfEVH0IhI6jMAgekMo9XD9EEBlPuNGImxhlME5MR0DkG8T4kYVadIo4r8JgtV//mbyKfgJSZn6l1BTlkmPt4SiGacnbOYM0W1VmAkXLqcj8y+Kq3706SXA8xeNoRAOMeeZHMfJv+R/1JKRkzYoSuuXtUA+f4OcaMDNPf7NtrvhkBt1DfHP+gsgX0iEVy9k6xaByNdDCBuEWcRxCfh0fVvW4ZAJ+8lYyawHefAyBAyc4HJ2ccRJEdUXH24dyp3G99hAEOGaDbQ+A+qLgD98ceFoML1cS7k/epW5Su9g0ldJMHxk+oI9gLCwqtraVyhmGSjhYjoOvtexDuYs6pPRabfiIhbxqgmZ5WdMVSa0UGnfJOvV3BLLx8UDBplaf0tu8mZ22/Koqg/q0jZkGlQMJ5quijYUQXqiXv9fQs3Y5PfMdl2G2atzd6ADii0lpUnf+cGXKgDQJalyp4YtFOk/z1/QgSvr6iZs7zkABrVgNjBjOWTTCOLcaEFh+K//tPYq8QYKA/P+u19hGD/8LejkRig/xH6xNKUlrGbk7Nys02ivY2OBZe5JbWQ5kBmGPt+vRa3gEySdLaikwfEjRVHib+1MaAYegGkzRptceycZMdiq2o0NGJzI9ccLrpFrslpYvoqA0C69zQbLsZTAzh7sGZYs6G9deNmSJbJWHtUOVfVpIrY58kyAwy+4GVqSVt4F+WjaGWjaEgC7Ugp66j9AuCsXnhLuagIY5JuVQbzWcqqbUwz88jOB6pm9Egj+3kgYfxs/lSXWmyCR/Kw7LNUUOIUw2eZ2ZFHkCBmKfM2Nq0gHX3LILlGpAnJXonI+H1Hr3zJ8+R4kUNVCTrBxW8MoUN+ZAYzHENONLLCBJBTe7AGPaHxyHCvgdqqs/kot38drR8aYOBILzCIunGwxyHYT121wlu2rtH4uW575D+RVRbxz7dh3C+cvr1Cm1RMaQUJ2yDZ81lYdXvsZDT8UiVH2hHJQWV5e5Js13bcpnDSAsCFBVvrjye8mRzHFXAAo3Q/E63RSM0jclQ4/LXQC1h4kFuCCz6dQt/XkJT12GFwYGZYkn9+4Q+9bIdqnRmWM7ef6B16vpWr+LxG3L/Wxau5OQjn1l3gIjFcadchw3OloWuUAmbht2EWFPj5E84bt5uOFPmfmD0LCVYYcrzW3veZ7JPencYwYENhZWzkztzTeCz9EISfe71i4cNf+MO/RkjJBcqpKNvREWmXLrxu5k49lu9Sj7h5eTQEEEZQq8BNpN1eSB1HnMvPk1IltsKHQ8WfYla+Hf67dJQ2397iqT1uq9dShfWWXDvv5rWIHoIU5KSBkDaztMO1ETydcZCCbW1o0cG4YBOBNxGgrq1zzRU/+M99LPI3x48XZfy9cGYyxzeS+SKrdqQ X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b469541c-e37e-420f-1e89-08da5cd44dcf 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:33.6306 (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: wBZwbyepHlwgAz3dfcSwbWob6+a1s9/E3CN6DtEDQFacNWNnELHakQG2ER9zuSCrWJSCHqzYawRSPqtSfFPLeQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7768 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org From: Peng Fan Add interconnect paths for i.MX8MP media blk ctrl Signed-off-by: Peng Fan --- drivers/soc/imx/imx8m-blk-ctrl.c | 39 ++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/drivers/soc/imx/imx8m-blk-ctrl.c b/drivers/soc/imx/imx8m-blk-ctrl.c index dff7529268e4..9b0f81dc292b 100644 --- a/drivers/soc/imx/imx8m-blk-ctrl.c +++ b/drivers/soc/imx/imx8m-blk-ctrl.c @@ -5,6 +5,7 @@ */ #include +#include #include #include #include @@ -37,6 +38,8 @@ struct imx8m_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; u32 rst_mask; u32 clk_mask; @@ -52,13 +55,16 @@ struct imx8m_blk_ctrl_domain_data { }; #define DOMAIN_MAX_CLKS 4 +#define DOMAIN_MAX_PATHS 4 struct imx8m_blk_ctrl_domain { struct generic_pm_domain genpd; const struct imx8m_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 imx8m_blk_ctrl *bc; + int num_paths; }; struct imx8m_blk_ctrl_data { @@ -117,6 +123,10 @@ static int imx8m_blk_ctrl_power_on(struct generic_pm_domain *genpd) if (data->mipi_phy_rst_mask) regmap_set_bits(bc->regmap, BLK_MIPI_RESET_DIV, data->mipi_phy_rst_mask); + ret = icc_bulk_set_bw(domain->num_paths, domain->paths); + if (ret) + dev_err(bc->dev, "failed to set icc bw\n"); + /* disable upstream clocks */ clk_bulk_disable_unprepare(data->num_clks, domain->clks); @@ -224,10 +234,29 @@ static int imx8m_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"); @@ -650,6 +679,8 @@ static const struct imx8m_blk_ctrl_domain_data imx8mp_media_blk_ctl_domain_data[ .gpc_name = "lcdif1", .rst_mask = BIT(4) | BIT(5) | BIT(23), .clk_mask = BIT(4) | BIT(5) | BIT(23), + .path_names = (const char *[]){"lcdif-rd", "lcdif-wr"}, + .num_paths = 2, }, [IMX8MP_MEDIABLK_PD_ISI] = { .name = "mediablk-isi", @@ -658,6 +689,8 @@ static const struct imx8m_blk_ctrl_domain_data imx8mp_media_blk_ctl_domain_data[ .gpc_name = "isi", .rst_mask = BIT(6) | BIT(7), .clk_mask = BIT(6) | BIT(7), + .path_names = (const char *[]){"isi0", "isi1", "isi2"}, + .num_paths = 3, }, [IMX8MP_MEDIABLK_PD_MIPI_CSI2_2] = { .name = "mediablk-mipi-csi2-2", @@ -675,6 +708,8 @@ static const struct imx8m_blk_ctrl_domain_data imx8mp_media_blk_ctl_domain_data[ .gpc_name = "lcdif2", .rst_mask = BIT(11) | BIT(12) | BIT(24), .clk_mask = BIT(11) | BIT(12) | BIT(24), + .path_names = (const char *[]){"lcdif-rd", "lcdif-wr"}, + .num_paths = 2, }, [IMX8MP_MEDIABLK_PD_ISP] = { .name = "mediablk-isp", @@ -683,6 +718,8 @@ static const struct imx8m_blk_ctrl_domain_data imx8mp_media_blk_ctl_domain_data[ .gpc_name = "isp", .rst_mask = BIT(16) | BIT(17) | BIT(18), .clk_mask = BIT(16) | BIT(17) | BIT(18), + .path_names = (const char *[]){"isp0", "isp1"}, + .num_paths = 2, }, [IMX8MP_MEDIABLK_PD_DWE] = { .name = "mediablk-dwe", @@ -691,6 +728,8 @@ static const struct imx8m_blk_ctrl_domain_data imx8mp_media_blk_ctl_domain_data[ .gpc_name = "dwe", .rst_mask = BIT(19) | BIT(20) | BIT(21), .clk_mask = BIT(19) | BIT(20) | BIT(21), + .path_names = (const char *[]){"dwe"}, + .num_paths = 1, }, [IMX8MP_MEDIABLK_PD_MIPI_DSI_2] = { .name = "mediablk-mipi-dsi-2", 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: 587393 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 AA0E8C43334 for ; Sun, 3 Jul 2022 09:13:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232683AbiGCJNo (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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Qyp1zJ7mpDyPeeMexaz5fD+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: linux-pm@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:50 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: 587033 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 1C953C433EF for ; Sun, 3 Jul 2022 09:13:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232762AbiGCJN4 (ORCPT ); Sun, 3 Jul 2022 05:13:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232696AbiGCJNy (ORCPT ); Sun, 3 Jul 2022 05:13:54 -0400 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80057.outbound.protection.outlook.com [40.107.8.57]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB61363A3; Sun, 3 Jul 2022 02:13:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=in3WFCBUKYLGKtBzmog1GlsFDLOTw7kMZU6GEFCxeOXZvesI7Y5qUuRFC3kNPHOvjGumKD/eIZtv6lGAWTIMIaetmGqEzU8pv2Egwnl8XW+bzmkhio+ZnaX3vWJiZ4zP9CGMzx55P9/y1F2Dy0IwBcYVu7Xo/DYNM9VpjRBzywKgh810XuYVBF9NzX195Q+6nbLhwC60HtIkcCWTAtRi/lDm7DU6B9Yolk1Wj+IB3YGiG4iwwi81iDn2sYUPOoPBalln+2O+6Q1PlUhikWr8E3OfEJIswI28/r/gAjtECvgAsT41obl4B2hS6IkdUCVGEvYLhfbclgTLKQbdpktFmA== 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=EhrpTevmypPVrzxq67Y2aIcMSCunN+Swy6LAyezdEuI=; b=n4NqgnbSqqiAc436VGz+WhaPRm7GDZm3mEzoekfnH8cX5jBvoHAh0MzTdgQ0A1Y1YVGRbGuJG0oN6aCKSkR3S6aJqiFa3SEb24WzNKbCjtC1ZdyC3VzSlNy71LbEVw/PthSJNFVKjI50HfraSI0yrUJj4j6arYpSeRz8lhS8n4zl8+X1fD6VxCchSl/saw5eRHXl3d4a0FpbjIQtErDc9kzBwaBL1pCxIMQci7u8ThKev8hbm0wGrjAfHHJpAsyTfNXfiTqrt5Bxt21RMk1Jl0EtsLG7tSfH4IvjpEHsPcb5kv71gZTH7tZ+pNwKOHqQKenQRbJxiqPBBfuOwSd2nw== 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=EhrpTevmypPVrzxq67Y2aIcMSCunN+Swy6LAyezdEuI=; b=DzQ2HrK9ZV+WNNLThix4slHBPCZtQ3nDXKNuF/tEP7kHIjMoCdDjxxN9WlatcNknAloSo7izGNIh6tVGFnOhVemnVXtlJxgs7BgLhQwje/aFQxSs3EopMcukv+YbF95IzzA3+KpGOzSxfpYvmzKRpiDtsWPrcLK5b7FxcT2Rxvs= 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:45 +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:45 +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 6/7] arm64: dts: imx8mp: add interconnects for media blk ctrl Date: Sun, 3 Jul 2022 17:14:50 +0800 Message-Id: <20220703091451.1416264-7-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: d01ef1ca-dbd7-47c6-12c5-08da5cd454b3 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: HGFmaYRnaEeEf90alDzrnVdkXGqlxZ6rXS6j17nWOAkN0WA66/wnSaJgB02pJX0/t7NKL+4ZbM+gFBnmiYwM1yn4oHXF4KF27+wa7buUzzwJkS0b4PuaqRKx0dIZf6zy78Dntv8iaBjrOmszpV9oHy7aojaOcqeskGA3cZU9LUT8fl4s4uEDkH8cCnXTDySwnQUQ87qWHGs4kYghqTAW5YPgFVSO3U5VLMRNCPak5DGBqyxafcASwhEcdiqbe2Anyn+CpQkOo2oNcYhEzkSlvdBQtb0WdC6gi8aBtBk10vI5dKHZWDbQNh6k4aiU3HxoDTL09ZLryzthBUMcquA10PoXuRkw20SnFlGwr1+5loUIEOtbL7kRcwd0ixXHcIGXMmoEmHRLYpw4GBDp48RirXO5YkBwAdHizFW/uoYXZvTu8ZzThvAP2EU/j5U3Fp1ouPPKuaAK4nOB/99HNMiKIPz7KA9FhZQRrM3axoml76seQfwnq6tfjVB76NfodO+sL+vB2xvvq4Be76v5oyetE2FedcmMCs2aZF0n+un2NdtXSDPPKkik2AzTq5LZVs4dgrv1zZnUYl0xF3E7sctx1GZfmOSTjkVk/k6Lkpz8ak8w47WRQto6KBlzGy9ivBy/6oA39auAPwuTCfqCc2LKV7R0abFyFqFDap8+w5ZsqqG3nKV9B/67pMRSn3k/igz8fJbgwTfXWvJv0DmhIlvBifT4r7aY65TLBH0RhaZBkZj28Dp9CtRtK91lsWqjNpqsjIWVlcVudaPMiTqnoTa854MZkONaIAAti0B6Fst1jd/ghDReUKHg2Fcwj0Hc7qZv4QgrR2vWxuu31HAKZjgl/T2MCIJFULCJgtOqX8G+tQU= 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)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: YoQD7cC7ILhNco2WZQnhd4ybcM/f/JfrJY9QGnKkse+isdkThmSW0TgbmceriVhpl2+zC3bDBDlRnKcQIVVVeX68G3oSpHrJar3qLtuSJl0oKWXHrLR7XyYVmtq+4K/a9RItHN3tGc4vtTotI/YotnB9+6YuqHHWXDgUHBtyC655ACyuabEYd47e6XAuldZEaginPgVyFNJWNUjyLiiPGqFU4bDEz2CfkSzGlGxYA9bxInbjIexyudw/4FlxMsEwMOoTZ+vGA3HKt97KtMJwUnT0dXUGE5gP67pmcoHYaLMZnG0dp4+hYpFsO+uU7lueda+lQBHs9gKJPaslD4uOAj54z3IssKkyVr5JrsGril8lnwoX/k+y3jIzebrejK9EyN/ne3VdsLG7RXetA+N3oMaocSFq6iUjv2ANLBNx43JGmma0DiYDNdr7K7HO7HNL+ycqXI/n1rraYggjQb6XcIPF8h3YEtRkRLJ69A12x5cYlHnCd1KKSPO3GIlRAmGZv+XDmoWib8MvgfjECQsSNRZ9K6oZ8HY2XXWK86qQlaYNgcMTpMyabZ/zxQ2GNO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6-12c5-08da5cd454b3 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:45.3159 (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: HhOTKOuOgd7FMuBKBFFObXvTvWzBb6ferKePsKf6FL0KafKkgO2fvIG6+zf9rYPgWJADAyLBMu+HbGqulyPcBw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7768 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org From: Peng Fan Add interconnect property for media blk ctrl Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index 13a2ee77d3c6..08bd57742294 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -1066,6 +1066,18 @@ media_blk_ctrl: blk-ctrl@32ec0000 { "lcdif1", "isi", "mipi-csi2", "lcdif2", "isp", "dwe", "mipi-dsi2"; + interconnects = + <&noc IMX8MP_ICM_LCDIF_RD &noc IMX8MP_ICN_MEDIA>, + <&noc IMX8MP_ICM_LCDIF_WR &noc IMX8MP_ICN_MEDIA>, + <&noc IMX8MP_ICM_ISI0 &noc IMX8MP_ICN_MEDIA>, + <&noc IMX8MP_ICM_ISI1 &noc IMX8MP_ICN_MEDIA>, + <&noc IMX8MP_ICM_ISI2 &noc IMX8MP_ICN_MEDIA>, + <&noc IMX8MP_ICM_ISP0 &noc IMX8MP_ICN_MEDIA>, + <&noc IMX8MP_ICM_ISP1 &noc IMX8MP_ICN_MEDIA>, + <&noc IMX8MP_ICM_DWE &noc IMX8MP_ICN_MEDIA>; + interconnect-names = "lcdif-rd", "lcdif-wr", "isi0", + "isi1", "isi2", "isp0", "isp1", + "dwe"; clocks = <&clk IMX8MP_CLK_MEDIA_APB_ROOT>, <&clk IMX8MP_CLK_MEDIA_AXI_ROOT>, <&clk IMX8MP_CLK_MEDIA_CAM1_PIX_ROOT>, 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: 587392 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 D6150CCA480 for ; Sun, 3 Jul 2022 09:14:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232766AbiGCJOD (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+/e5bDBWU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-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: linux-pm@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>; }; };