From patchwork Thu May 26 12:34:05 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: 576322 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 CA13FC433FE for ; Thu, 26 May 2022 12:32:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233860AbiEZMcm (ORCPT ); Thu, 26 May 2022 08:32:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33958 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242964AbiEZMcl (ORCPT ); Thu, 26 May 2022 08:32:41 -0400 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2057.outbound.protection.outlook.com [40.107.20.57]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA56E6397; Thu, 26 May 2022 05:32:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=U9C/OWwrXCXDBuCjb9UXbUxX7hq+EVzKU+PKD18qc0NhgNSicJEwPw/d+qcEjQnHyutQpEYysmQb+CfHKzXvLnXYeqlbYUl4ccdrwS0cP7UPmV5dQUOmmKZkMeyt0dIufO5DmswDhnYZEHaGR/VBpa3pA51TKLdM6jXNWg4vkRWa3UlgjyZubLfwg6Ecv5qmUA3WKO8WV39fgDrot9TeutfdPLLtIKZaI67SyrjKg/XxqRndrPwTEl9qRL7QqLECtTHSv5W4OaQSKzNyOQBJoLQRW1tc3MoM1BCxoVCGmvX2VexUkDZLjLBYFG+bAHQVZf0qIL5Z5AIi/NJczhmDtg== 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=PztbtRSY9f0/+1j5HQBOcivyHURgkJ/AfFY+kduUh8Y=; b=mf+IlmFPsTFSMMbWKFbVeKy4Rr31sgc8vV/sz3ctMpyzoVVNBvf2pKEqld9rSQx/fxNXmfFwDD9Cy571PsgA9dOO2PmoHS1VF80CFTatk0MWrm7CrPt0PDMhe3Lw1ThT5JCvS+f743a0P8jmRMVij2azwj0kiriIPO5bISHMNyeR4Ey0L07HWed1pfHWu+EHzEjCCCX6mVgQ707LhnzDJuuTT6MkXH5Wf5SrQklI02PrrAk3bvqL7g6KasNi5BSX12Lx4tlk1aY0ZoFprp5a52cMhHUpkb5YTrjCTj2nOt0UJiK5m08WMusZlUXnfpGR29lcYpQaOMn70nWBx4Y8EQ== 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=PztbtRSY9f0/+1j5HQBOcivyHURgkJ/AfFY+kduUh8Y=; b=Cveu2CE7HbpHWOZUpQjjSWUho4YpFxFCfr+F8vj7+Y1y3x74zJYxq2/o0EXBiWwWR7kbIm8Z3ALFPpnEeSE71k6TJAH5DgNX3r6l/GjRHpyod5HJEwdy8JH2s1EcvYZEOXdiYTOBPdnafwyVkgargV7LnwoB2z+uy7zNBe06eIA= 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 DB9PR04MB8363.eurprd04.prod.outlook.com (2603:10a6:10:24b::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5293.13; Thu, 26 May 2022 12:32:36 +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.5293.013; Thu, 26 May 2022 12:32:36 +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 V2 1/7] dt-bindings: soc: add i.MX93 SRC Date: Thu, 26 May 2022 20:34:05 +0800 Message-Id: <20220526123411.270083-2-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220526123411.270083-1-peng.fan@oss.nxp.com> References: <20220526123411.270083-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI2PR06CA0013.apcprd06.prod.outlook.com (2603:1096:4:186::18) 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: d4ab167c-39eb-47f0-fec2-08da3f13d0c8 X-MS-TrafficTypeDiagnostic: DB9PR04MB8363: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: C7HaA+LBoqDZBpalSJlg6y4p/ghHVdHG9+Ed46G1M6q7A5YqQ6ZJNT7e2VNmsnvrw1KtpNw6vU1TinppUjP1tbv1hB7qmQavgSqO2xTpPd7dnostX5WWGCC6PjgO2du26o/nrvAfLvdDIib+adOg2ajI3JNZMJ1ud8irgCtj26QMxIhF71KWvb2Gj+gXDjbNn7YbHzux1JTYmmysHxHa5MCxKQrpidF42CRIxjOHYzDeTokgH4RSYDRDg2RS+zDSXxW9v0ana1VSr6cMVfQah7115/O4tV/UuyzEG8kW6tyPeBsW07PYmPTHVZPcdWgZplWWZKwT92k4Rytb9tcJVrLI8EH/+6NDtWUOPI0d3S7KOXJNnU7wFae3sPapOF1f7lM1SZmneIirQLp5wKIfQySvfr+rCCIyP6ZXhTwRokB/ZqM1RG6YAUy/gix9InlCUMyvO3UA3yZTYk+X2ALVD77+VdhHzlkL/HIJ2j8ALVR3JbwBnEbtdzN71oTpOweH/IRfAcRypvSXWlaVYYz0CW+9ytPgenX861XV8KbHvPIbgDE3Qqx/y47jKxo3WWyg0TQZpB1KIbdpv2XDz80pK26WT2IuEusSRIflGpl/P4ZtyM7UnOmXv8OD4zq4HgOsHgjH64xa18pJMbHWZwnyVIKkWPq3gGPT46AU2zj0X8unSwNKBrq5omp4vXSqAAnDzlI/pFILKLbsD7mNJXtndmXGnNW2VZ556Rwiu93uKq5SVRliub06SeRrZXtg54zTb7lWs9zDxFkIJ4iMQFYXp7nLSDSQCm5INqxJsgjjHwqnqEjl/rScMGVgUkVQq9xcFaMny7k+YgPHqlB92mQ1wg== 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)(6486002)(186003)(966005)(2906002)(26005)(6512007)(66476007)(66946007)(83380400001)(66556008)(4326008)(38100700002)(7416002)(86362001)(5660300002)(2616005)(1076003)(8676002)(316002)(8936002)(6506007)(52116002)(6666004); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: VendIIYMigG4BTf3ClOf0gICvOLQN5xeMRpcWZH+e2TkDRPriKg6fQIBBLS4PSRFkjoJrtYHV+JRjKeKuD+eewg+i+q/mAS3CnehspLqP1xZ90sx22I5seqAjRVvqL8Ni4ziRry2H+Jse1UJudlqOKyohuz+30gGe7MNO4qpbiZ/thTYYQM93gjM1nr8KPTGmIF/rPlZiz4KvJJ5bQwRcnmp2Goo2OpYVflkQjzXNW+NEWEAr2lyBreNx8mFrICE0E0Zy1r7YRb8PyVcB+VpXp0D1Wn5hMvUAnH5bhp3sJmdAr4Iwe26uv4UU05YTqe2xePa6nQxgvKqN8/HIPXF/32NdhB8jm9vT3mi8fLynrB+umGhaRIpRmQ9mEP8FWKB/QTzZMi02ytHC21qY3W2lWL24Ho9rWa/m9xWo+tpgPI4a9Y54JOnadbP0FECUqeF3jzXHi0mO+asc6R63m//+FZ+KkcNwH5ugVYxI4QyzRBe2PtpjLIElqKhyo6g5ysUu5+Qu4uX4ayGmF0GCKVAkxjo2FAA8oHgyjlwxRNdlzR3R+KFmbSd6i0zs+HPz8g3t1XgDAcT54ljCosOp3ykPB7U65eosphsj92Jd/KhxlKRCuqRzHZV7ezABBDSFhoIKobQgNi+slbltkax8STFMjDIyGqA2DwPfYYSqzwpYv7I7VHj5+ClQsNp9uJMbChp5XphQsp2YrsXJtr7F+aWvix0QqKkNjur8kr4qU5j5ZnTmLUTppvWJwoNtpUMuliBRBb1fVLm4+aeSqrzF0kHBIEZcNzxd6tGoTGAPofC0hDisW+P0O50oTELyUdbgEbMwUVaZ1r4nGKxoN9AesVBPSMOyt2+3c+BiqgFt2EkVegyQikrjUWj43L5DI9hpESmhY7TNHUpLqWkC3sz+SEO2bp0qPe4ucKvyp+wYnSyrBVGSXq6A7PILOrHDzDiY4K9lDP2b5HJQNjpuDw5Z67QUfioGwB0EZVLHLFBmCi0JrTgegHI0fUEx4rkfHrBzWfOift9P3aKxKM7OtrXBqMTTsx1IBKVrKxIeGz82rVoG5/BVnv46uwf8RjWXXbMOv+KWe//rNf5yRIkxISD6+3UN9iV1Xefrb6ZYUIpLXY8to+7vlsRAgvg9RwtOrEkn1h+2ehxRGTJOKFLbAW1ECTJEAzcxVt4PFXI5fMg3tAWq6FszeyVRZaGVw/aYXCjyXlTOyp003ShoGf0B+QKVmakOs6SqAahkjY5yKbI3VFJlimiX6GH/Vh+SP8a1FHZU4v6SEhCer6KjjgJuwlwnjmLwho5TScssOdArUpkzoa9WICJMUsavKnbk8+ktbd7n3uVGm8FhEQRg5LU36+lPpup6b4nv4eEFw0R1zFffhN0Gh06TkETCWfH9EgLmpmBWkko0iw3DMQydpCfWYO7rrqUNQ0jze3GuOUthRm0y7zrItHXTd1gSfMYA5I8HzPGtvtoMPx98baJ5uLZPk7GgkTucph/rTPI5LAgTFlsPEld2hri0dfFQsEAQehYfZSh33ChJ7ugQa6r3bMF9aTviv5H1BByxqdxLHIZ0z56h/I4rs9VF0Pu/ewe5F9OGyQF+bbrxa8GrNomvMA0/1EqUZyoJl+v6PpNwU5aSMwGN9CQnSO+faVnyu4zdHxK8AHIOXUu4n+LVERWJo0RuxCPR3I2Zg4EesY1kbNWKxSvbkSpEWLX2VvtNT8mbs7MsN2zjvjn7T3Nchm79auwBGfjZ+6fGg== X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d4ab167c-39eb-47f0-fec2-08da3f13d0c8 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 May 2022 12:32:36.8764 (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: cKcP9NPOuTfsZuL1g1IwAlmpifCvGNig7Fd5HlTXOX5Wh9AEPiq6i+93uoFbToV21EmXG3m3w0upg69Bi1jKkw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB8363 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 | 96 +++++++++++++++++++ include/dt-bindings/power/fsl,imx93-power.h | 11 +++ 2 files changed, 107 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/imx/fsl,imx93-src.yaml create mode 100644 include/dt-bindings/power/fsl,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..c20f0bb692fe --- /dev/null +++ b/Documentation/devicetree/bindings/soc/imx/fsl,imx93-src.yaml @@ -0,0 +1,96 @@ +# 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. + + properties: + '#address-cells': + const: 1 + + '#size-cells': + const: 0 + + patternProperties: + "power-domain@[0-9]$": + $ref: /schemas/power/power-domain.yaml# + + 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 + + system-controller@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/fsl,imx93-power.h b/include/dt-bindings/power/fsl,imx93-power.h new file mode 100644 index 000000000000..27fb7df80f93 --- /dev/null +++ b/include/dt-bindings/power/fsl,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 Thu May 26 12:34:07 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: 576321 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 49684C433F5 for ; Thu, 26 May 2022 12:33:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347368AbiEZMdE (ORCPT ); Thu, 26 May 2022 08:33:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34458 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347332AbiEZMdC (ORCPT ); Thu, 26 May 2022 08:33:02 -0400 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70044.outbound.protection.outlook.com [40.107.7.44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B343A188; Thu, 26 May 2022 05:32:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PRyATPuqukFC2KU4RGCGg0V8l7d4WMID6HdGMitSkqp+gk7tZvLQhTTtFU4rdFl8EY4Any+wKjre2hdcJ5WRdNiPRFSFO3J1LuA0EIgaHOyMvlcRZtwql+4vZCoTGhQfuZOEgK9EBMFOfqI8qepZT4v5Z3LsCrMmGybL+/tfGtBWJNBM6LN8sUVA2oG3kdEEid/XJIjnx8w5iPuEKy1PdqDUQzE+gm14BeHIE3SxGRw94RxRPVIt0vZEAk8vApIC9lKCv1rQuvDi+Xq5ZBpuGd/gS3TCLnbHezhip5DetNwigA4zQMF33L2YEnpIIBP3m7aczlIVSSuESpdWTZ6WQQ== 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=gHVfxPm0uyevMJL7KEdEs3U6EgXTYzfxoBLo+iPwyZFQwhVcqMHKhucYUA9iafTb8L0+XeV3dcBHC8Hy9Hks1ms26wVX3LbqM3yKT91gBnXXUP5UDB1ug/MkiTfgOcwVsd+mOuXRjXjjwO8IPwq96bLA1CKFnNkiW/vaDR7lIYL48olNJX4rhkjmjxl+rT2ol1oZfEV6uRBBzWOXca0QDj2MRqUoX2yZVpQ7oJQwRMBgL/EJ3ZW/2Jk09nMOKb252oQDXZThEIqD44ChEYwOH8scbxQk58ZFUnOnbUaqY9WEHyQL5xQG/pXFexgb2Or6b9U8y1d0ARTs/TDO4J90Rw== 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=inB291m3+MkgOjcy11nHMpmKd7+UmBpNkXSkJZ0qPDFyIr3ynbmJfBGja6E5QIdhteUJgLQQPSoNZC9GZ3y/QWosOR2ymmcguVDn9uMn1BgVgu+JlREDNrmNJ7e2NRVQJoB36KHImX41Xy35Jq0N2XXPBGkC7VstaYKoczCU1Nc= 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 AM0PR04MB6515.eurprd04.prod.outlook.com (2603:10a6:208:16f::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5293.13; Thu, 26 May 2022 12:32:46 +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.5293.013; Thu, 26 May 2022 12:32:46 +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 V2 3/7] clk: export of_clk_bulk_get_all Date: Thu, 26 May 2022 20:34:07 +0800 Message-Id: <20220526123411.270083-4-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220526123411.270083-1-peng.fan@oss.nxp.com> References: <20220526123411.270083-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI2PR06CA0013.apcprd06.prod.outlook.com (2603:1096:4:186::18) 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: e6d1715f-d78f-4443-465a-08da3f13d64c X-MS-TrafficTypeDiagnostic: AM0PR04MB6515: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: nChqFGHE+FNvUN2bOzNclsG1xOw/7mjMtQynLMk3q/nMKFoZzpfSO+s1CQZ3UGXeTqn7fJoScOSe5d5YBtv/aU9g2Y6RBZbFynwTX33LjE7I1qxI69T7Nk/d4RnXPwqxtAVtR9AGoknmWqNixdbLk+Nzv5/CYzgHpb8zZVfeP0vHYTB5zKQvcrh9tQbduNna2yzz2dTnVdfOQGvKx4S+RdsSESmIG/HUBE786VE3ZZzUfNIl/cHlIBrQc7CvnCxVce482RS8K+zgaSL50HDC12rOqZGJF4qDJjRtwEy5HW6eQEnEr8d6vswXt1ULV/oSj3dX6PYulSFlZbrj2j9aYa8SzJoiFhsSyeimhCXiuCbcUZWy3AUiTwGZjA2vj5XZ8n5ksoFKexLdFFRlvwCfS1cnuNUW5jnTL1pQP/P/uhqE/Vn6Yq8Iv9sLDYum8yRWU8oxkLaVCxdxlrLe6yZXekNq/QsVTXgVpOTDPKXYe2KdnPoTXF7igZn5hn5Z1wTSBeu2IFFPQvTdHKeqvV61LaJj45WHX5oUm4z4KWnDuCPeM7s4CXBbDKz43aMT9HKuyKhZ2uTsm8AxcubYAw82WxVdkdcLPDzs+fbQxqPtAplujO9nLGMo58RNZ4nvNVu5m2NXsZc6NsAmbVhgEZWgUE5KROlGCLTk4/RhNRDa95CFoaAahGZylNKUo8Xr+JezcKakOnjtPtOQVlcVD4vbmQ== 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)(316002)(52116002)(2616005)(6512007)(86362001)(26005)(38100700002)(38350700002)(6506007)(66946007)(66476007)(66556008)(4326008)(8676002)(6666004)(5660300002)(8936002)(7416002)(508600001)(2906002)(83380400001)(186003)(1076003)(6486002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: ln7ZtKYmQdbwApD6wM/zErJfftA7RiRTuK4rsRpF6Yl2HLDLwSiBm3qV+mv9+bvWszoSR3pjCUWG9RBI7sA6mqXnVGZ6Vv+hmKA4fXwPOnlX66sMdwbghiii6rynoeTecVq+FVqI6jl7iTmz2X7c9VHgbdYeO4pSNmBHehgWmtif13MPjwy9DO2c1Dn/fgNx7ie4M4hhAVJ/aE2iGRtrYb98zicfcEITcS1T7uxJjPxXjEq+a3HWiaYQTF0hxQGWWTb1zuK6ASrMCT0sslmS1qFWuQnevbNSyZjmyQJwFJ0OLxBfuepPHa+hdzn2RAV+c9WHlPeG0E+n3sMJRnBkJ4PuGhICrzugf3LO1KkX5c0eReJU0DcrxlIOYD1MkiXGgk01W6ULUXeBDB8x/eFFpC3/RLN+68xe+ATJwB0iWd33TzbUvatKZHcnSkDqjoUgWevQZbpUQtozJzZcBj1w7odwbHoQFPPPDOQvJe0k8+lDHbq4ms2q7/xISZsiL3g9RC8sKV9xzTbhv+z4+XNePIicAdnRfTUHWYOxxeJo28MiCRhMsRMGl5BHLRsTfYni+BVT5Fr+IiYTUcWu/LNvcjCP9ZriYt9MbbAPUoUPx4GNmbWURX0epYCAPFPNr1pkIhfT+XiBNPV7hAQziX7/1aPoLu4rV7eZ+S7j5CRweukDIJavrbXO1V0mVUg3E6P3BC0NjBM2SX+OkO+QZt0i2lAnb4h8pDvyqZ5aySb8cQbgloddWEmHlPy+wYw0vG7OijKQ1EiZgPw7L7r/5JEq0JirAWhTcvBuVX/6gFHgHBEdNA9y/jP3jvMFDPDdYt+kevn7UtFxM0+D2GycNNS63vRojWE9yg/wZacFUJFfSEd9N9njIJoY10nWlMD5QFJ7MsJSz3OvURbkzpiW5W+VFAEokqYW9cb1NaBkJ+GD1SG2oGsXAtKm2AEO1hnGdoq+WNEqdhfmPMnomE4EZSbDOlwRcUWQJD9WKrCkd1pmB85o0pkRt0w3n6txEYwNDbWzISSYEQ4AtKZgAsoJVq5yVaAEWjP5rsd3WMNNVaXWWro5wBiEtcVdVyBPBwhhVrJJSINVO4sTStx8VBvBdK7r+huMMvci3e+4DzSou5oFiiiVBAUtKwjJEj4gcobZ41ceBy5r5XK3bpN4HW2FbXI0VgBI+bxo2amhGG77SjOtUrFKPGOWoSH4PGq6ABhNkGhCxhd+HPXJvDJmJVxy49Fw/cckY15H5UYN1xeKMOs1c9pEDGUxYE47S2Im30GoVqyC9D0nea0BYKfwQsT1xRwcuKOTUM+B4n5+o4mEqbAuvv/QkLC5myugv4B1LhY+WoRD+n0VsMu1i8yDb7C1Khgl0TdlpWDimOrK2A46QkUMh4+z3l0uBsM0c3FkIkjMDjXbLvioX7oj7BeYuEBUyFqG3HtDMHWnNDJjHWc43hKemqvftPc2lNBSTbYDdrLtJK5Bb4P8nC7f+8yInjy9Y5Mtz0Enmhuqmbpk2mWES4Sycfq7yXmTA/YEtBGR1BqGtS0YOiA0ERFgAFRoESojmppaZxVK4ac/ltY2S5FewXsT0vRQVkPaPMyfmwVlitQzRh77L9sLGiwd9y2WQWFmLN/UH9JhAODf9ITO3wbpyOfd6daQQA9rqVqQWh30WZNOqdJAPHX9771WMo8Ld6RFbyfgoqCnAALhwyB9mnMfcxX3N93QYAfid5FGSt/FWmuoJO7SB4SteUpovDRS4iDSwNwRQw== X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: e6d1715f-d78f-4443-465a-08da3f13d64c X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 May 2022 12:32:46.0941 (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: BdNIM044JzxJQYmJXQlnx2Cjdbfjyv5PUkoWeTFK+I2uYOmPd4QvnquIbZh3YwM2O4sx2s8ZduenzIZRrwfyOw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB6515 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 Thu May 26 12:34:10 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: 576320 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 1F82CC433FE for ; Thu, 26 May 2022 12:33:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347420AbiEZMdq (ORCPT ); Thu, 26 May 2022 08:33:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34396 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347423AbiEZMdL (ORCPT ); Thu, 26 May 2022 08:33:11 -0400 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2079.outbound.protection.outlook.com [40.107.20.79]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 76FEDBE2E; Thu, 26 May 2022 05:33:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=neAEy1a0+pWPfMHPvD3NOtRDVctYJxrHxxIOHffCCiUo7zYJBTICg8kYi2C7fyqgVghNqGLIWUoeDTrHs60qh/yctquRwbhO5sO7/bAyZYC+1WnZgqwIBYdbRyucuw7NQL7Z54JZYM/kesefR2TQrVxE4co49i4G6pg62GEqnGBjkNpKTO9mEEANWZHGKN1X4hZ19n91Yq5oSga7LiDNvvwON9f01yJaioTqD5uvdpdirlmh6TF9ayk6XDVNQhYGoSUYyftm2JRcWaXqRuQDBOd60Q47TTFtD2mHmKRQXdGdDfSTIDNL3Q51PDxRb/mtG/yPhB3+51bdrJeD8OSpVA== 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=peLw63kd4sSBry4xOsagwJYg5O9yr5TK+vWF2yinQJ8=; b=LadFAiepQr6FcLTpl9sDt5IX0DIEGYy7VS20HjUfC2jUnhldYirOXXuc31gFqu8Gruu2rybSGNNrWT+2kcnEbt3O5JIIcjxAzhl3rp002TMRWQwX/ZCiYDz2UGllvlBtHRRRXGoTj7vq1EWc0/VF0Wbyv2dYcCBMNw2VdYqTHG9bWeExwJYlTjW2uD4fbXUlzqUkA1WwVXHAB6M1UAxb9xb/c1egegulY/ya9cVAuUn4+Iel6yV5HOTZ4IgbGdba4a5VlRsQ39WSFisWRDIcGDaUV3AGMiDd9YzKSSXc+pPaqyyElk6H8KA8mdD/38y7iZ+p3JX+9iGOjSmILXFMuQ== 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=peLw63kd4sSBry4xOsagwJYg5O9yr5TK+vWF2yinQJ8=; b=g5Yr/jradRpXAZXXEfR9po+b8OIV91QlUPQ7qMmQ+EUnw2IEopotWkerwY3A0zITIhGFep3cFtz3eOZPxM18rk+By2Th6cmB28UK/biMA5XKh2FR470e/8+9FUxQC2M7dsnyUDw5Vo+d5Li5yJc/GE7WrdQRQvDEq7ZMfDxTdIU= 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 DB9PR04MB8363.eurprd04.prod.outlook.com (2603:10a6:10:24b::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5293.13; Thu, 26 May 2022 12:33:00 +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.5293.013; Thu, 26 May 2022 12:33:00 +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 V2 6/7] arm64: dts: imx93: add src node Date: Thu, 26 May 2022 20:34:10 +0800 Message-Id: <20220526123411.270083-7-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220526123411.270083-1-peng.fan@oss.nxp.com> References: <20220526123411.270083-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI2PR06CA0013.apcprd06.prod.outlook.com (2603:1096:4:186::18) 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: 9b507803-bc3f-4d7e-b864-08da3f13deb8 X-MS-TrafficTypeDiagnostic: DB9PR04MB8363: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: 4jO9OuYMsDMInK1T5QGIuvKKbUXwQbsBFP4iZCbynToem/Y1HOPk9BopSKarGzok7Hs+ZmslovTgJtWtfAYxafiYuePRtIUSZPKHj+zvovHScvZTJe0yLpFZ4i8kY4K20dt8jcKBYqPOjj5ds0rM4C4i1u19oZWD3l2P2G83RUNqkZhjbkd3d8xmIhXrl2gWmMHysKdSEL3Hx0DbQlnM3D8ORtCD3kopl8BtLclMsGHitk/S+zaA4kqnmcygoLWM39R3eI5sIrdQiVR/7PKoL5hDkXT2W7Cs3/si3VJs4NffJkXVp5L3z4ub9xMeFWAb5VZcbBtO4HSeNd7bh2uM/7aIVqGHpRkAQ+6gk/OEKNsIx9lrCcC8TTIZaDQC55VPSE8VbJ4rIXBP7Q4AjMNBDHnekJ6IH/VW6+wNji2I8dQqyjpovKvCYiWqEd5kA1ynVCeKAGGVAx4HrJTHSV2LEu/BWar9qKkgwodYjLGv6qknDMIIaG0nHvc8IkjTPpCTaAL6x2IC8NnzyHr157UN7oKUr4oFVBfN6kpneGuEDZVjkrtK7YpHW9B6+A9CdMWi80PPozQ792WCT0WEe1yPU+pE9WfPlWQ/dAyUTYBCnoo0MYN1Cox5wJfZll62SxifYQvqr4FOKerX9kA2MZoV4MH6oNbr0Fr+lPUYypSZAe8oT4h6kzwuFMzDpuqnlpxh8fCY+BEFYiErXuMj87isAA== 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)(6486002)(186003)(2906002)(26005)(6512007)(66476007)(66946007)(83380400001)(66556008)(4326008)(38100700002)(7416002)(86362001)(5660300002)(2616005)(1076003)(8676002)(316002)(8936002)(6506007)(52116002)(6666004); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: vSV9qlX0OVp4iMdhdVbaVQHP6EQpJwD6qbSMv9Ks4IWNL1/Mb4wfx8g/i0hY0A3SoP929iJoSP4vRvV/fPat3Pg3e9Mn9GpHgysMGxoPNaRaIor3OPr/26uRGMmMsCK26SIiEXpRelqof3kPc+B4CLhSb8p3h1K0J7Jrgx4laCBITlm94N27NTone/TraO/nvgWyY2U9efd+9H2y4Ux13pL7W1MErkdAqa7KTlM9VCyAaYBJR56W/pdzO/wRz3JC47f+0ZotqUShoZQ++SqEr1Q17jqCN8iLIm72wXe1cnGyK35y8eR6WojHeSy47YBbchsb+NsgXNcogEvVBT4uCyemDIJGgeaZAMcDzTRpIU3zMO3XjZ+BH7Ah4ukAZr7ys68rLeeSgwoqjQF9bTBBklhwoBFo07OtjHdX5wbI01n77uSCtlA8Xs7yFwbxOQWwk0nVFX0BTZscRrkiZ2E9UyDXtXjeN65WkykBWU6AYdyezvv8phcC4mHRx+ZeC3J7tbgXBs3meOjXpteOBr6byr0lpZyDjkFeK43H/kSGNuXLeTIKreOtqZBmAkX/Wm/+XXCZnXSiLjtYHdFJKKGkNbfHkl1S/6N3cNWHulSfuwiX2JYvO2aPqA0hGo1iY9cxvIIyHqRGK+vlJn1xgj83ntenQjPCmxdZZpbYh4y+9tr7A+OfS3KSW7OxY8DXNDZ0lWVUYXYqfqW+8bvn4xW4tOvLHTLN7BvUUESmC8IwzY/mDmFE1/tWxoVg7b9nCxwg1Rrx+sfbEaSCjAYEtrfuPMr3b8xwlb8ELXCNQUIMiNYzYc6HepQ3F58oigY+MxqqO3kA15PzB9zMNg47dgrbxgmDnoCCC7jO5cE6LzXsMVzypWKGu7ksn9q5YEm5IcZjj4csa1VEveYMRNc7xuqa8k8TcoZvIMzhIXPqJK5G6u0J9fAwfIWUmGNDirxADbe6AGR7U7V72tJSyXkXd8oFLoO5JzJS2cml3csapo6/a07plNXgXjAjzNUrMVYM7LdUUJSxVPVbcdIAMW5PjfRn79NIYkeIyLJfZ8W140E/K+XIr6aOZAwI2Ahy2cPcQAwljr9pELAX1J+vbJpapAPV4gfggqY0yWbV3scrSAKe1/i5/bU6bHhuHfSfsfWCMaEr7iJHlM2AmkwmgJ4W2sQ7o80pZdE9zbAcyGyKOi1dbwJUd88QKZOPaqfsHFVkarkTKbUZbDxhtMrQGYoy4WOfv/Xk3UtlxhgziZTBRrViYowUj1zRuVtwEonINaP/2O4SiLvSM2MwowXlATDvsUm/ldrUvnyciRW+Cj4DdesWeowz4BdAv+FdCmJcQ8c0TZKbHSoDYmMzEqzIorDg9rA8wOI/Bzh5RllFcocwbKnswZzIT2HrEOvcOCQ12xHE8ZJ7RdMKNq9z/YYksFqYT0tVI3NDTKrSDssuUO8H61epzzWNKn0HfYt3wzPXHfXXdVhXw+3vPUSh88G9KG93VxTYmwJxG6Eo84lIJtZhhcSu9rFr6eto7IlvsRSgipnOCgpE/tAFOquX+3TRsf3kx4IZNpuENV18O5k+c4Q3r9Hcpogfeoyp4nwENeh1zIiXpL5pyWOK3csivjTaowQ8z0Mo+f/Z/XMkFTdfUqymOcmmmHbPK1c6EkcfohhPSmsIawF7PrEz7CrXaSruJS/Fp6yesFh5vOdkxz2q5+qHpdI5SOFsQPiYoxCwNEEkjMEb44g7rWrORiqwWsKtWDVFr6ABcw== X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9b507803-bc3f-4d7e-b864-08da3f13deb8 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 May 2022 12:33:00.3039 (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: oFDkSPvAyKy0ZlkldSWC2tsDV6tsRcWOKa8T60b3YfLqKIaWND1cq2Wi0bZXR0UxiLA3w7mhr0IpjJBQL/0ZoA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB8363 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..f7d4f769db00 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: system-controller@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>;