From patchwork Mon May 23 11:30:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 575557 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 BD675C433EF for ; Mon, 23 May 2022 11:28:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234736AbiEWL2y (ORCPT ); Mon, 23 May 2022 07:28:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59222 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234898AbiEWL2w (ORCPT ); Mon, 23 May 2022 07:28:52 -0400 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2058.outbound.protection.outlook.com [40.107.22.58]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3780843385; Mon, 23 May 2022 04:28:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=U7UU6M3QVW6henmwPUwtqZA+uvBvRB6wdME50BifGvIyc+L69puKO4kdMc77V3o9HA0ZuzbvjGgwxSC+RfFKTwrlGcNT5oGbaU0GhVfpKxYXSXC5p4AYsqpee07mNcyxQh8rMg2OxLj/xukR66tzdUlyFIwFxGSUf3WUgrg4drXt2SU65p3NfcXVya6mLEHQGaXbxFsqmcwZBQ/7VDnFjmiDQrthsOfBjAcktFHhPUqb8f3RGSMvB3UjhLZXa2ySDaJ+bnQrUEinys/RsQTzRVtfShdFwdY6QFX37qUmmtQEniTzICTWB6FEzUckkwzTNk7N3AP504Gy9jyE6nAhzw== 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=IhJqlq1ARYH7LUVPZUxdrg9Rv7e3+TNdrXtHCpaHGkM=; b=llTI3NgnlewoY/DKofle/FhMGracHpCfFuaJHrjFnY1pKpJz2b63ewNoMo7X9oXzVE9WHm4kWGbtKWTQ9vYoAgbA4LEgmhti2uE0ImlfGedGoSRI3MjttG4ozmmJoLQflnMQ3/8IdzHan54iqALN6tBQRYQsDLOFj+MnqmaEDQ6fpXhgczpUAxYicWa5azBypgcfJONzKNRu2qf8yBokjALvBEQpYmX31y1D7ydbXQbIEQNujuyNu0BLaboOzP+sbaXzsOBgabygJJ90tnQqUWaeEip6vQkwmr0I9C6fD9FvEZFt8pFFwInToCx9kX2ZuCH+hk1mBE2zz/FZEvrSqA== 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=IhJqlq1ARYH7LUVPZUxdrg9Rv7e3+TNdrXtHCpaHGkM=; b=SoEdiYiuaSsjFv1+NC0ZgYfPxMnL6zSeQCcVAS3O3ykcP7xC0FSytcrWGwIJ2+vtWlN9NsIxm0TVwY/0aU6Je0qk02xBzhe76HThGBlGniTktdf+exIwyGZ9h+olq2Q3MiS/mQxiAnjfCSc70BFBJq5mkFmJE4kkFzLAtvg5Dcw= 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 AM6PR04MB6296.eurprd04.prod.outlook.com (2603:10a6:20b:b5::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5273.22; Mon, 23 May 2022 11:28:47 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::a892:e4a9:4769:13a5]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::a892:e4a9:4769:13a5%7]) with mapi id 15.20.5273.020; Mon, 23 May 2022 11:28:47 +0000 From: "Peng Fan (OSS)" To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, sboyd@kernel.org, mturquette@baylibre.com, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: aisheng.dong@nxp.com, l.stach@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Peng Fan Subject: [PATCH 1/7] dt-bindings: soc: add bindings for i.MX93 SRC Date: Mon, 23 May 2022 19:30:23 +0800 Message-Id: <20220523113029.842753-2-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220523113029.842753-1-peng.fan@oss.nxp.com> References: <20220523113029.842753-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI2PR06CA0016.apcprd06.prod.outlook.com (2603:1096:4:186::22) 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: 2727f334-c7b4-497c-ebf2-08da3caf66f1 X-MS-TrafficTypeDiagnostic: AM6PR04MB6296:EE_ X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: CL9jcfa6dftrJa3rTZunGsS+8oggrf8gzj33JhWyym1wMeACQX4x36mnn4zdXUP1cURUJke3nEAwcIefuBPHgIhT3yGM2xQHtgTfwuA0oRXsvgj1vgvW4aQ8wsoKqvbuj3omMpP6v84EvtIzqHtxMF5JL5v+ap+1gJbQR70JT27sTjEJZQ3LaGrX4o9J+Yvs8PbPsiaJMiXzenibFVd8w8IDewn8jzCviifs+cVn0qYmeOzrDeobQSz/r+JSDRD/KoSSCGVhVUh3Had0wUYqNYaESQOJAh1s5WwyvtYLRroPThzpf28EmX4OxMTCP6edg9JqQeBABAL3hRAncpoAl9eze5j7HjsevfrZkiy8Noqxqpt26/ScN97xDA95DfUknrjDRj5XqoU39EiNPP7n9DT2t6P+DcNox7gd3orWlsVBkLOkxsy/6mgCIZveHjtiNSozdvq+bkul5uC5ZGaoKd43dyWNmGG7tluhxOgoTcdr1VDgV8Gkan2HT/qIVXM+Ob6mNmn0OhCD8XtDCwjDs++f0IxKykjhb1R78jx1kn4T3EpsCOz13330e4nzMqCfWAV2RtHZjIUjcOAVyhdsJFhPSTAsgjnx3NJcSlM8Wy9O2G0Zjrcyhu2zGawjVaHSovAyL8lTXez+0p9FjvDEt4Pocg7hmEHpYcdwistiakjiln1sk7GFslSe84Xab18/+0nnAp8SExavmr2Xx1LbcqT6oshhvXmpHOY+VDQfdN9ZWJ5mOkBIG6LPrIE7ScEp3cSNLy79Wx1mFjE/rrEgxlGp819bsBHxS2/99/5chvU= 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:(13230001)(4636009)(366004)(508600001)(38350700002)(6512007)(6506007)(66946007)(6666004)(38100700002)(52116002)(8936002)(7416002)(26005)(66476007)(66556008)(186003)(316002)(2616005)(2906002)(1076003)(4326008)(8676002)(6486002)(966005)(83380400001)(86362001)(5660300002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-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R/tsAtG9aQsQK1ExtKYOTpuS+2WVMXzuJ9Z8ZvILp+ROloDuIanrhg9Waleo0PgiXG2oE9eEsqHHuMeqey+QTARN2FZ18K4hDahGaHtePiqckS72Lin2jDlvJl9osUMCSSs3tEMKJpYTiAet0Ky0T75TjJT8Car+MShY26IsvOSIbSQFDwHdeBVy9G4XUONVCSdinBpr34tLk0Yx0Zhr6E1+Q85LkNLYOwwBB5YUhkZU3aaNsfPFAf1JFf82EOzyLg8tguN64wkdI1C7TCpmGhz/LeIO6bnzBshxG1NDjdONiWJkAfpXHnbEyaQvYWC7CmIqRLGubfrukcZw9PHFiXQ5XQzjrs6IszZJ+CYKR4vqpoXPotendyrmL791ZyUpCNPv2IvIYuiSflyVZgqONK2CN8oBrMozcehpgXgCwfaCzLRk9RbHwkpjFB0K+pAYAf+NTd/oiHoMtR/+R4ojxqvDWaldyqK+Q0VTbYcgeZVPDLAOsH5F75ZJ98y6IJuLnkTrD8xus9f146CTYgTfMNMgmHnNMhJoujSaEa60EFTXBNTKxD4hN1hSHM/KPp5dGzCFDoZ43HcVhRRxesaSqZWeDfo7l6fhXSDAJegeI23RNGsUeNsQmiTxIfPd0f6ye4BagPwI1zb3amkWCwrNeb90jCKV3b7kzG1MhfEYuiwE8+ZkYzUPuGjcTUwU8rgIlSx5azuQ== X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2727f334-c7b4-497c-ebf2-08da3caf66f1 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2022 11:28:47.3388 (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: GJxuQlmEt1A1MkGYOG5DeiEh+6H/GreQhJelnojq2WbiwX/H/fxNJ3enyjzSxb48crrjsBv71jkQZcpXUZHwwA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB6296 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Peng Fan Add bindings for i.MX93 System Reset Controller(SRC). SRC supports resets and power gating for mixes. Signed-off-by: Peng Fan --- .../bindings/soc/imx/fsl,imx93-src.yaml | 88 +++++++++++++++++++ include/dt-bindings/power/imx93-power.h | 11 +++ 2 files changed, 99 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/imx/fsl,imx93-src.yaml create mode 100644 include/dt-bindings/power/imx93-power.h diff --git a/Documentation/devicetree/bindings/soc/imx/fsl,imx93-src.yaml b/Documentation/devicetree/bindings/soc/imx/fsl,imx93-src.yaml new file mode 100644 index 000000000000..d45c1458b9c1 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/imx/fsl,imx93-src.yaml @@ -0,0 +1,88 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/imx/fsl,imx93-src.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP i.MX9 System Reset Controller + +maintainers: + - Peng Fan + +description: | + The System Reset Controller (SRC) is responsible for the generation of + all the system reset signals and boot argument latching. + + Its main functions are as follows, + - Deals with all global system reset sources from other modules, + and generates global system reset. + - Responsible for power gating of MIXs (Slices) and their memory + low power control. + +properties: + compatible: + items: + - const: fsl,imx93-src + - const: syscon + + reg: + maxItems: 1 + + slice: + type: object + description: list of power domains provided by this controller. + + patternProperties: + "power-domain@[0-9]$": + type: object + properties: + + '#power-domain-cells': + const: 0 + + reg: + description: | + Power domain index. Valid values are defined in + include/dt-bindings/power/imx93-power.h for fsl,imx93-src + maxItems: 1 + + clocks: + description: | + A number of phandles to clocks that need to be enabled + during domain power-up sequencing to ensure reset + propagation into devices located inside this power domain. + minItems: 1 + maxItems: 5 + + required: + - '#power-domain-cells' + - reg + +required: + - compatible + - reg + - slice + +additionalProperties: false + +examples: + - | + #include + #include + + src@44460000 { + compatible = "fsl,imx93-src", "syscon"; + reg = <0x44460000 0x10000>; + + slice { + #address-cells = <1>; + #size-cells = <0>; + + mediamix: power-domain@0 { + reg = ; + #power-domain-cells = <0>; + clocks = <&clk IMX93_CLK_MEDIA_AXI>, + <&clk IMX93_CLK_MEDIA_APB>; + }; + }; + }; diff --git a/include/dt-bindings/power/imx93-power.h b/include/dt-bindings/power/imx93-power.h new file mode 100644 index 000000000000..27fb7df80f93 --- /dev/null +++ b/include/dt-bindings/power/imx93-power.h @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ +/* + * Copyright 2022 NXP + */ + +#ifndef __DT_BINDINGS_IMX93_POWER_H__ +#define __DT_BINDINGS_IMX93_POWER_H__ + +#define IMX93_POWER_DOMAIN_MEDIAMIX 0 + +#endif From patchwork Mon May 23 11:30:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 575556 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 16AD3C433EF for ; Mon, 23 May 2022 11:29:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234783AbiEWL3C (ORCPT ); Mon, 23 May 2022 07:29:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59604 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234773AbiEWL3A (ORCPT ); Mon, 23 May 2022 07:29:00 -0400 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80073.outbound.protection.outlook.com [40.107.8.73]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA7294EDC2; Mon, 23 May 2022 04:28:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eD3xIa+JADo4YLWM2myUDBg/MTLGYNMM133Z8B/5Ys0aOWFlHxjS9pXN28rVvxav46L51TjjdExYB08bG4qGneVAH24zwh6Rh8ayu7+Ia9AIiC0a+Q0WA2lKtHheZKPw7lPATqjUPW6EJLuHNbkv6BqY2CoOQSnb6mn12OhIWF6D4VE5N4AxLR4veh9NN5me9kPmcyZ8Oly8UriWFKXZF8jHD/YFWjOYm9F2bxB7l9mN+UQnBjZ3q3y/3LLHYjw987BWGObPeJtnMRk8KKlbIA2TslvqW0vBpYw8cxsVL0svX3/GZ/bWIhJcKszYtfVVIkwD0oQmc25vSwKiSkMeqQ== 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=nvyBBWq/TULyYaW+qtbnBmvmh9ed2b54mEXSIqHerqY=; b=ct1fGdyCORAqFcjOoZJggifsi9I9TiKI+EUCzMu8l5YifRVtyTcrh9MGDCm59E8+s5+SXMUj2ob8zoDh5wXz5z9uU4Te/Y5qrU+PCgLvveU1y7DgZSG1EOoihRe/2pkT81Oncb66WE/alPWvV10gLhICL5tLAbfoIj9/r8LRZPM5JT2C3oE3co11clnGUg6c2G4BvbKGEKz4wKku7rXEkMG7T1QspaWK0aFZPj887vJnXSQNs5cRIU08MWOsHmj5S5VsGBJrC8qAXmaftp9/b3jFZIUA21jhogbpaev8yXRwRu9PldF4xm6Wu8effodcmCjPGxtWW40nHu5e+7EwMg== 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=nvyBBWq/TULyYaW+qtbnBmvmh9ed2b54mEXSIqHerqY=; b=lpaN0lQ1Fyo6JM3WSraJgPG1GZxDThkJYyw3g+/Y6pIWte4wkZL7lUBW7ATuwCF4pa2XHzC6oKJdcJsKvRwdJPvAx26qoS+CyKBka6f7Hh2bylL2EnevLb7UA4luwgTyxmvBBAVaIMU8sXYnUbia2zcpoqKYrDbz5HRlqaNghmo= 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 DB8PR04MB6586.eurprd04.prod.outlook.com (2603:10a6:10:101::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5273.22; Mon, 23 May 2022 11:28:56 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::a892:e4a9:4769:13a5]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::a892:e4a9:4769:13a5%7]) with mapi id 15.20.5273.020; Mon, 23 May 2022 11:28:56 +0000 From: "Peng Fan (OSS)" To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, sboyd@kernel.org, mturquette@baylibre.com, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: aisheng.dong@nxp.com, l.stach@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Peng Fan Subject: [PATCH 3/7] clk: export of_clk_bulk_get_all Date: Mon, 23 May 2022 19:30:25 +0800 Message-Id: <20220523113029.842753-4-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220523113029.842753-1-peng.fan@oss.nxp.com> References: <20220523113029.842753-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI2PR06CA0016.apcprd06.prod.outlook.com (2603:1096:4:186::22) 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: 4835409b-9512-4e82-3da0-08da3caf6c6f X-MS-TrafficTypeDiagnostic: DB8PR04MB6586:EE_ X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 7/nWY0/Fp5eAyGtDwMwAAHtTcceoiqofXmxOq3VXB9KY/ZiOIbUH0GQQ8jZapADDZIycDJfsiipOQ9/xhC3ivnKY0Lp/VVfMdi8108ry033CyadAKxwVzCvz99KLmh6pZ6CfRrFnKHD60VabgK/5posM7OfNBO+IZSYPyDVRhPJnSgKsA3gJsqmwYp6/4OWiJkAJfWL+R7jK1wgg/0MrOr0Lz1vy+UTr8hc4Mo8komsbGi6onAiiF4XtXfZLYol/6AxjPFhy5qmRwojuaXyKJbvxplsPAO0rgEY5BOgOkF7FVthk6DeW/1VUD90dJPf0uu2MMftTkDn3orgM8J2ugK/OpSTCWusGu4Mnw4z891uaEJBkORWLN8pPXVLSE1WtiSDWVzgefCQUwVKTZnoL1FwUeyNIu9R1wYrIRdp2ZdtiAv6zvph0L9Wu+eOd1x8Be+3NbAQWiqYL+107ksi6AFMMGJY7s9Efjec2rgLecwX5BpldHmbhebpePoAY1XnSO5Eptm8bOH8u52tA8X13jqK4PrmTnpU8veJ9sYhYd3HpPfhAbLbHAuWMeNr9QXQhm+l2/y2o/ch0bD1uPoJ2L1W+dQVY13DuLHG098LqiWWk9CB/FCFvu6JuDO5L/KYWFAtG++U71/jL27xDXtBhiTuppaIamYZoWoFFjIBt65dd3yZtyE5wUKJDWUp/P/e1dlDONYMfiZNzi/pOZ9E6XA== 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:(13230001)(4636009)(366004)(7416002)(2906002)(52116002)(6666004)(2616005)(186003)(26005)(66556008)(66476007)(8676002)(4326008)(66946007)(5660300002)(1076003)(508600001)(6486002)(6506007)(6512007)(86362001)(83380400001)(38350700002)(38100700002)(8936002)(316002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: t73zoPP9fKP9hPGT/FSmdSNMYSCf99P/or4oaAV9Q5UzJuzODpaYUSLtVrRP6MD/f//crsHpg7D4sr2FX0kb2TbIMNAs+eUFPxiixcmafGpGyTvEpxlsN7GA58p9zy6zM/BQk0GPApdDL0VvmJc63XiSz0oGgNaZlVlhO0V8yorWnBL6JNol5Be6rOwV+aUEVbQXHCCtvCV+cDJuAvsrtu1UIdt+HB5amNfCYWx6y6Kch7lxnmcrEuMhWDbsM3te72aaFB+1DXc3WDumMrGeyiNHawrrLRlhNK67YuvNzB677wncJy51ReIdVHXxWQrvnpXMbybgf4mNUsJTM2Lb/TQ0GSU0AMgUfuZypcuiGfqJa4+3qWL3nr8ru5lA0w53hncHn9FqelPPfU1x7R70txspDhThCG/nbOvjeUvNbH7YdJ4Kjiw+r1i5SFN1REQh0QpUnPitcqrmK6hxUSk9AtWRpUrpEpWSkj+/PAxcEBiLKJG1hfgOpHFn6KuPhQb9/u0utbGWg4rpBeaMkYRqBNFbiZtg1koVEl7ACi3i6SucaZ2sz6Lzry17rK/+DmXuNrMXzyp9UxlgGP0aUDSwhOK46uS26ziTOxg5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8g2WhuZdHeBqHwJiWunXQA5eL3qOupIACbIDHEbSdZh9e92AMxeZ2LhoyGuWmKp4w== X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4835409b-9512-4e82-3da0-08da3caf6c6f X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2022 11:28:56.5487 (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: POY8Fyk0AcEsuAWQlCbHXD1T9efFHWwv2mUlBrWo+hcYDg99P0Nsi4hfg7h7mtMvE0r014Vk7PbxYr5BEOSgug== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6586 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Peng Fan Export of_clk_bulk_get_all, so drivers could use this API. Signed-off-by: Peng Fan --- drivers/clk/clk-bulk.c | 3 ++- include/linux/clk.h | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/clk/clk-bulk.c b/drivers/clk/clk-bulk.c index e9e16425c739..470155856b02 100644 --- a/drivers/clk/clk-bulk.c +++ b/drivers/clk/clk-bulk.c @@ -43,7 +43,7 @@ static int __must_check of_clk_bulk_get(struct device_node *np, int num_clks, return ret; } -static int __must_check of_clk_bulk_get_all(struct device_node *np, +int __must_check of_clk_bulk_get_all(struct device_node *np, struct clk_bulk_data **clks) { struct clk_bulk_data *clk_bulk; @@ -68,6 +68,7 @@ static int __must_check of_clk_bulk_get_all(struct device_node *np, return num_clks; } +EXPORT_SYMBOL_GPL(of_clk_bulk_get_all); void clk_bulk_put(int num_clks, struct clk_bulk_data *clks) { diff --git a/include/linux/clk.h b/include/linux/clk.h index 39faa54efe88..ca74f4e83d25 100644 --- a/include/linux/clk.h +++ b/include/linux/clk.h @@ -372,6 +372,8 @@ int __must_check clk_bulk_get(struct device *dev, int num_clks, int __must_check clk_bulk_get_all(struct device *dev, struct clk_bulk_data **clks); +int __must_check of_clk_bulk_get_all(struct device_node *np, + struct clk_bulk_data **clks); /** * clk_bulk_get_optional - lookup and obtain a number of references to clock producer * @dev: device for clock "consumer" From patchwork Mon May 23 11:30:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 575555 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 590C8C433EF for ; Mon, 23 May 2022 11:29:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234849AbiEWL30 (ORCPT ); Mon, 23 May 2022 07:29:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60830 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234604AbiEWL3V (ORCPT ); Mon, 23 May 2022 07:29:21 -0400 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80077.outbound.protection.outlook.com [40.107.8.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 925914EF45; Mon, 23 May 2022 04:29:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ARkKb5hO7cUBQpKPW21KT5l2X9PWQDbtgx7HBmuyUA1hddeeTlrKJRovHPkIGojtMXW8ywn++zEuTiaflzYDm6mioPOjdJAkzodKrY/jOIAQLOsK19zhDPwrdKrnc/xav5IBvilBv9x1Rsjafz8i16/vNuuYgcPyJ3DD1QkJAYagh+bmuMBN1NIkOv6hclPMuhLaEnuf2Cs4GOfM3L3tl142GCmj022MD1TuFOvDhGAm8SBNE4xWZVJQlLPEieh5Nb9W2vzGB20qOccarLYzKTP4MyKlFFVp3cNHJcT9pHzhAzpzHHPy5P2v25ZWc71Oe2ZW+XDXNDhDdf8lHO31ig== 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=pBXTzykZ4wz6Q2RAzkqFYkAV0rofNDozqQWNFuJCWvs=; b=JMiz6VvwBYWFzGcWqSKO1GJclHvVfISQhyJ4o7fXmxyV3W74bltgG35rbxhjWHqUk1/5/pHvWZfEYf6yG4lSSiFndSqDub9d6AoI6EIeQm4GLNqqi7oWfJQlmW20OGnz+Sw7WTVoEtbleugoCflpddQbYHSZjjQGGNU2ytKclkAoO+emZcDkme6Me6OelA+UoN8RiMfc+KPPl1f/frCmCmlwJ4yZmAEp9lVGSP010WyPzlG2DGvy+28Ab/oBT+JTRd3VqY8y66ou/mNDxHICRGrClEgo7k0EXustMp7XcF/PLAGkRoeisIrH1kr0dJveuPhBXeEd+31fGMPOPkVwTA== 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=pBXTzykZ4wz6Q2RAzkqFYkAV0rofNDozqQWNFuJCWvs=; b=N6YrUfh9Wxi8CnID0Y52KW86FQ7ciQNX04w/RwKfwMOhD9da+koPh6qc8o9WZ+OuP4O1lFd1j3A7CvptzHuCp306NUOLoOOBut0kRGWvOFyOB+0FLRpKZV70RF8M1LwhpdmxEb097soBurDTZlEu+4u7CgUoBsX76JbPkjCaSMk= 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 DB8PR04MB6586.eurprd04.prod.outlook.com (2603:10a6:10:101::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5273.22; Mon, 23 May 2022 11:29:10 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::a892:e4a9:4769:13a5]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::a892:e4a9:4769:13a5%7]) with mapi id 15.20.5273.020; Mon, 23 May 2022 11:29:10 +0000 From: "Peng Fan (OSS)" To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, sboyd@kernel.org, mturquette@baylibre.com, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: aisheng.dong@nxp.com, l.stach@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Peng Fan Subject: [PATCH 6/7] arm64: dts: imx93: add src node Date: Mon, 23 May 2022 19:30:28 +0800 Message-Id: <20220523113029.842753-7-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220523113029.842753-1-peng.fan@oss.nxp.com> References: <20220523113029.842753-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI2PR06CA0016.apcprd06.prod.outlook.com (2603:1096:4:186::22) 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: 003aeb6a-7648-46d9-2c2c-08da3caf74de X-MS-TrafficTypeDiagnostic: DB8PR04MB6586:EE_ X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: P8E4OQuOZtESKIibZdV+zBv8SjSsdXiaFVhOfAxGhK7J7nrSH4PcCKtoEaacN5/ZYoUggE9KXqh/exGzTcqJLBq9XvyNruqzA++Xj8OHVAhHAbwuNyBW5UsIdV62eIvt9zaONiwi2tKq4QUreGcg0cDkh1MRLwk4qZXyw+2adM9kx94933625/19tiIxH9nbtZTNwh3LM/nGe9XokLYqZtLqgRM5V0/0PyjZ3Suxvo9oA6h1A7lA+rU9P4KyfHveNPaI2CToN9PWHrzFqVbfA/59sGiM7rNmeITYrvcJ3cEipY4sFgkt2Sx5ihm1Xc2RRi8lU4+rG/INVnxaQ/Qchu9DGX5VKv5zmczdcqptLyDP8MOkD09CzoGbZ4u5I/F7pN+fs9ikKjSGS9ZKV3rJ/vWqtsoiTyJ+f2GpInpcolH7NBvzmbMwjsay7CAwU97/CtcHhwRnwNojA3s6O7j2v/sTyVNzeQA9+P5jo01O4MhEcEMw6yIVsjoZ5rO3OvF5YoAQr2O1XAe7p9Jlbh7g8Drw0LyoY1SHXLIEJ9IsjDqK/LlIJTl6FVvithQiwhpABErfA3uwBUvQznU8im8aZJK5tCAd+oZdl8c72X8iH/HUbET1OP/kDIQOSllMgkVRui36Wb+g2+mcTMNBD7+GLIvzXFGgiXqyDpNf4bpW/xa6cjaAvkeKVzkyacwi2sKfaTvdFua0OcS5Qsu8uxBkvQ== 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:(13230001)(4636009)(366004)(7416002)(2906002)(52116002)(6666004)(2616005)(186003)(26005)(66556008)(66476007)(8676002)(4326008)(66946007)(5660300002)(1076003)(508600001)(6486002)(6506007)(6512007)(86362001)(83380400001)(38350700002)(38100700002)(8936002)(316002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: YfZZSKjR5cmMLys75gzDFmgs5zpaKsfm9dsz91Etno1iEMcboDUGHifCM0iK1S1xuhZ4u5qDp41eS07zv+znegDQs4NYGy69a9/s1bw4edkdH9RGIbKfbdkOKdov9gcD+Vn/7ugiKQCCgpKPGnZ1kk5r67K8iZ5zqoCJNQSzvlUsMAWpMn9MCj85EQYtYh6no94xTclDGxui072rOfIp/uTIz3+/uxDy+I9jYYfk/MajNEY31wfLhmbH4rMhEI8olp+PfRL2p3TB+s1qU6gktBKZagZ8oYavBXY/5rmec1g6LN/n/Z+krZ+1dzid1052I/MbMFOKuSOPbteR3raXxQLbzHoZwtn2qgln6QYkcD57unRyyG4pArcRI+wIxJKxzhEfBNr0GuZhXPsSN4aw9SWygYrYsDTyWy7NVz1H1+NetaMdc01ql3aZE84vJuFQ7JInonHrQU9L6vpcHf2Rox7jVHJU+v3Wos/8W26rhD81YJCyzixyTw/VVBPohUMR2umehl3gAh1hu052FnYDW3IaGPrdUDdjLne95ZuFFVs4nVe6tkLjvgcaDwNp57F5TXBt4pOI5jp+7RwJyVwSTpbWbQsA0pvrjrZlY7Eu8Jbqws50a7K70/GZGMC8OorhJMp4fxoDIrZJ8R0dGQhSyQp060EBPuR4KWYAvBEmULZNjlcF2rAKRFTM3YkEBgTqO7u1oIVo07uc4LMf76oAGaAXYbZJsfLtAa62nboyc+frxUaoKxBSUCrMSDtR0tREuYANF5aHlUBXKDgR0zhIPzLfd18c8xWt0N+8q3PY6FatsNvp5NxcOYRARXnlcdDGacTq4CgaS8va7udAJTAzjhoP2Zcy04aHXp/bFpu110PXu9HIQVIxpY5wrTtSIVO6gzQCESUciPPJGWzfIL0ND3O+eBTF/csikvjVDqorLVJ3A7x0rACKKc3zmgzPj4ThgtCfnpp9Cjsxac8vrzQm1PhBv2NJSyTem+27qTYERMIk02bpoO4V0NFT8m63Bo5DB31+mIYVVjfybMKRbcPqrhbxwWkTNIHki8g44J7pu4Ts2itkPBHy6h/XOux10nVpIN9rGzfJXBwbsIWoG2XK4A/W5X2snO9vPwWwVu3JpVgrlwr3icpiwEONP1AGGQRDgb0HMr97wQjBfPw1DYPtK6fkue0miiepIX/+CI8snkvEaF5WyRsV8LX1bZp8qhM/RaSJrw/cdZBJxSPlWZJX3z11gaoKS+DKRIVMMHOSWvIYS2B/edcE/4h0+jGOL2/u+cPFRRe/EyNd+LtV+D3dMjYc3NogpFcP3GFFecFeRv/hyKeYqQKZ+NNp5cumt1WrGciB+MOwZEZyq6XrQHRNgtUQwn90w13Jji52n1EkHb8vkNNgoZ0GWG3wcV0lqzhSGSi87UfbYGBmHTWcG2ayw0fTQQKfW6EXzwfJvVpzKhYK4N1B0jgtLFHlq6UIJpbLM5As8/+ES5NHCmbeWd/oNZQ3fWyrQSBUc4TMkTRbZ8tSuL7HTGis/Xau44eI9hYYTtd1xt1p3INoSV1NQQvS+DlSYktMDeoOMmUg+2fFxiQxFHC/VNWNibgI5b7ZQ4uk7XAsl3GKm4u2VVyEsp732M2gvTgRhb9yYbmHfLZsgf4t0I2KjsKPLQs/yyj7h2K9ZkrTwxGDeH8OvrW23yJTQGKpV9li7XJ2fMe6LTnYBxIw8YnjVaDt3d3PWfCApAo6oE99WdE7uUO/ZvYP/bf+yQ== X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 003aeb6a-7648-46d9-2c2c-08da3caf74de X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2022 11:29:10.6975 (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: l43CgeHod3cnOHc0s1uBJ31fD2it4C9hugAeYsvQzLO6QZsqOlyvxz0X9iLZHechvI/09ufcqpHWLfcOjmaNtw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6586 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Peng Fan Add i.MX93 SRC node Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx93.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi index f83a07c7c9b1..85686b684966 100644 --- a/arch/arm64/boot/dts/freescale/imx93.dtsi +++ b/arch/arm64/boot/dts/freescale/imx93.dtsi @@ -7,6 +7,7 @@ #include #include #include +#include #include "imx93-pinfunc.h" @@ -161,6 +162,23 @@ clk: clock-controller@44450000 { status = "okay"; }; + src: src@44460000 { + compatible = "fsl,imx93-src", "syscon"; + reg = <0x44460000 0x10000>; + + slice { + #address-cells = <1>; + #size-cells = <0>; + + mediamix: power-domain@0 { + reg = ; + #power-domain-cells = <0>; + clocks = <&clk IMX93_CLK_MEDIA_AXI>, + <&clk IMX93_CLK_MEDIA_APB>; + }; + }; + }; + anatop: anatop@44480000 { compatible = "fsl,imx93-anatop", "syscon"; reg = <0x44480000 0x10000>; From patchwork Mon May 23 11:30:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 575554 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 18C45C433F5 for ; Mon, 23 May 2022 11:29:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234858AbiEWL3b (ORCPT ); Mon, 23 May 2022 07:29:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60890 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234749AbiEWL3W (ORCPT ); Mon, 23 May 2022 07:29:22 -0400 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80077.outbound.protection.outlook.com [40.107.8.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F2E0C4EF64; Mon, 23 May 2022 04:29:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MGVo2fZeOTihEvLHeAQd9TyYR83zA0/r3JkSJM8O3L1YuW7tVQN5PiG3M0ZwxosYZbMbA+fMxGdtcceAVufwZ8MgujYGBcoo0dZS/Q0SpBAO7c6Vm7buG8pYe4ivCdurCvqxfX4ctR8Tzc2ATHeUq38n+5iBo8Dd3qh/Be26gKmwGW+P/Gk1wXV9DoR8yizt0Q/vvKaNowbSQsbcOPGPJp8bcpWi2qP7XPhVKt2b3awEAF+WTuqA2L6lIPxu8/6fkh2YgaCEoofDM6MpbUvszDG0cZkOsyUTIc2NUPkl/VdHeh4kBKUE3adWrUrRAAycll0LuymYrfcKg2KCURmUcw== 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=6uIurfmyarc/hTiEj1TvwQU0vA/KH9DEb7Y7Ry3GN/8=; b=Tt66ZkKp5yzUoiRJBbyuHaDCbMF4TcJAnUdCCjcac5wApV0qit5wl9FvSpH+mCDlBJKquesHKarbMHziO3iVXYsqQtJesFWMaIJSmUElBMKn4JgUlBb1lAIf+DCZ5nr3wpRMItd+O2rGJnbcU57wLemRHJlpGqiCsEVvwKh8hNnGO1DL//Q4AA1s514bI5zRSgu7u7eCzCDprbOId6bpsNOMb9k4WGH25VFM1Mkx5+QRjsM2m+7+tle68JhoPHeCMIQ/RNPw7yTrNP0eWi3OLTh5YFAztw/M1thvWWQVI+9hdvBNfrc2j6ck0ZjX1I0O4i47eGcU2rljN+8ADepCSQ== 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=6uIurfmyarc/hTiEj1TvwQU0vA/KH9DEb7Y7Ry3GN/8=; b=iPhaujXzUDujVqRVvhlLbYDq3JzYJ9XAkXDIt5q+Pm4OssIdSPB/2e9Uh8yPG2ogTY027EnGnHd1F8IoNn9bHMJwYjmgFL6SAmPkF3u0r58AOfl+gBIJyWvVLphF2nkPDqkEWhy/V44GyESpjpuIBJbskmzEwY5A+2Sfka6xG90= 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 DB8PR04MB6586.eurprd04.prod.outlook.com (2603:10a6:10:101::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5273.22; Mon, 23 May 2022 11:29:16 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::a892:e4a9:4769:13a5]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::a892:e4a9:4769:13a5%7]) with mapi id 15.20.5273.020; Mon, 23 May 2022 11:29:16 +0000 From: "Peng Fan (OSS)" To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, sboyd@kernel.org, mturquette@baylibre.com, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: aisheng.dong@nxp.com, l.stach@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Peng Fan Subject: [PATCH 7/7] arm64: dts: imx93: add mediamix blk ctrl node Date: Mon, 23 May 2022 19:30:29 +0800 Message-Id: <20220523113029.842753-8-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220523113029.842753-1-peng.fan@oss.nxp.com> References: <20220523113029.842753-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI2PR06CA0016.apcprd06.prod.outlook.com (2603:1096:4:186::22) 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: 9144be0c-fc18-41fa-0a88-08da3caf779d X-MS-TrafficTypeDiagnostic: DB8PR04MB6586:EE_ X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: rnO85TMoqFQMZwX2DPqx82h4XnXJK6H+mo8WGqqH9oLrxRwfFxKZ/GCjW2824dE3tCsd6En+ks+qejjeZEj8LKwsZqMmUFAR/9vrRLolP59Dq9ine1Wj0tNx2Ll2aYrq2+Za3NeOzzX/FzzVCYXvlzth6WF2k0sdMpZ/WsdWyWorqYqmXLxbfCsDcjefH8i16HXj0p3PO8RmXF8CI/UCMQZRgqk+HglyH4U8YS6oZSsC+jwm0o8RBad63MltUtlkRo66d+rQePxgdoG0c9kYeagRBu6IH52AqlJNRipnmf0gfKhVR2Mda3iieXomiiaonVPzqe9LUO1Pw4TJQv4dJRdeJ1gSvPyqnZF8lw0/YNwDmFE+ymOb1lrgebjX74AOFEdNJv3gqQTiHG7nCjnjvqRSKopGvbOYgf98QAK5biBtEy0JZ8W/82QlFOGOgHSPvCVqn17GogUOiFDu/Nb/DeKo/KvNHnv9hHbp/IEM9Sc8BXJsLc0n08VWZUBIeO4i0+QtzbILI4GqmIdhqLjmlC3nr1OIC6sjlLxOr61jioA9o3fUZOO5BJDz3qAUgdiYLuyfLGWmleBB0d+zTZO1CF9y81VCdvvH58luq2Mvff1RDID2F+YpFpWvuy2VzCJVsEYgkmDHeYkNSRvhKahhA5R0JFqrtLSLGaUhxIh3bwrxgXjuMnsLh9kkerh4q/lqGPL1/RhvOvVWv5iqJ3U96g== 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:(13230001)(4636009)(366004)(7416002)(2906002)(52116002)(6666004)(2616005)(186003)(26005)(66556008)(66476007)(8676002)(4326008)(66946007)(5660300002)(1076003)(508600001)(6486002)(6506007)(6512007)(86362001)(83380400001)(38350700002)(38100700002)(8936002)(316002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: CCYZrgetZjMUmKNtYnM7DS4RK5yJI67Q/lqF81qAg/bbCIsBMXJyAn8osZydR+EiZyJG45oJGjlU/d45k10/g8z5Z32TxZIm7BEbcC7drRxeZGhkEjS4xf34tWOBp0q4PKz2AzlsqKGcKOgVyNOyhUOa+us+vugA7M4MSF/y1MmtfdGjn/HbPF5jzVc2M3k1vjqrYBObuUOlvcbJgombiKXksv/hCofL2PfZsBjFrTjKu8MvtZV8BXfvjjqF4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d6pmeK4ycZ3wL4V/soHXb/4nQwRnSkUFLGXagUT+vnCrNxvcP4GkoxxHixLGfs4LXWiiMAcWvisvldC79nFiDVrSLmvFKwX4wrgBi9vST+V/jlt/3CXC9ps6ldulGT7wNVi/yxJKE9rPWYYq9l4FZIKRJSog4wemzKVq0eXkyh5BwZxmSbHghupiS2EM13FRHjMxOH3aVwfu72FoTrl+1wgvWoe++LXXjvSlNrlEPT0UZF6uEga5XaLaEn2tAtQy0IE2pxvcDORoQpMQX+w6XVnbCOsT/Ynxp0kzOEEBHJHuTRvB+Cjm6atxSbUaAvt0WRBqa9dEVOjePBnVfRk2mFprxjWHmW9hHs3Z6byradwiEsy2SLHnBMpG6b1g4xxi6GVCwBeeUpOU5ywt3LrF4xokQ2Fg== X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9144be0c-fc18-41fa-0a88-08da3caf779d X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2022 11:29:15.3507 (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: QKZNbNuq+dS5QrAvDr0eEo3NeAxpxwOAp/SYy3XLW3KbyANWowqD+B6wRLrlfy/xml35NcBApcCGK8bbqI3p2w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6586 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Peng Fan Add i.MX93 mediamix blk ctrl node Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx93.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi index 85686b684966..454c605303e4 100644 --- a/arch/arm64/boot/dts/freescale/imx93.dtsi +++ b/arch/arm64/boot/dts/freescale/imx93.dtsi @@ -348,5 +348,25 @@ gpio1: gpio@47400080 { #interrupt-cells = <2>; gpio-ranges = <&iomuxc 0 0 32>; }; + + media_blk_ctrl: blk-ctrl@4ac10000 { + compatible = "fsl,imx93-media-blk-ctrl", "syscon"; + reg = <0x4ac10000 0x10000>; + power-domains = <&mediamix>; + clocks = <&clk IMX93_CLK_MEDIA_APB>, + <&clk IMX93_CLK_MEDIA_AXI>, + <&clk IMX93_CLK_NIC_MEDIA_GATE>, + <&clk IMX93_CLK_MEDIA_DISP_PIX>, + <&clk IMX93_CLK_CAM_PIX>, + <&clk IMX93_CLK_PXP_GATE>, + <&clk IMX93_CLK_LCDIF_GATE>, + <&clk IMX93_CLK_ISI_GATE>, + <&clk IMX93_CLK_MIPI_CSI_GATE>, + <&clk IMX93_CLK_MIPI_DSI_GATE>; + clock-names = "apb", "axi", "nic", "disp", "cam", + "pxp", "lcdif", "isi", "csi", "dsi"; + #power-domain-cells = <1>; + status = "disabled"; + }; }; };