From patchwork Sun Mar 24 07:52:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 13600771 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D8ED5C6FD1F for ; Sun, 24 Mar 2024 07:44:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To:In-Reply-To: References:Message-Id:Subject:Date:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=B9HVwBgdj8OBoaXIFvMKa4EnLYkm3FOFBdUS9XRIk5w=; b=0TxYKRE7y4uBl5dhPKQMn/nKwS 2fR3X7UfJ7IxMDUV+nXvsUppIvvMCWY+AAZtzA1DqCXDEPwR2v1RFM+H+vHEKAei7aO4PHdNB9LkR BEC+XN5EPDpsxQJr63trjTFXn4AXood0Mte8FzupucdqRsb1k9W+8osYaK0adGarKf8pUfTtBFqLK Z/s4gvQhSHr+2vIU/dTB/fYq3eVaaGacnQpF21klbt/YGTtF0WfY6BZrgKa5hfKzWlq/bfZhldV6o mxn9PQJy4s/Kse/EuoImD1NcIQqLF/2G7YvMMyhsQcF7oexPwip7R0jOeQgbE1L+fHNt+m3WWeoWz pwevodXQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1roIWg-0000000C6b0-3bnN; Sun, 24 Mar 2024 07:44:19 +0000 Received: from mail-db8eur05on20618.outbound.protection.outlook.com ([2a01:111:f400:7e1a::618] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1roIWX-0000000C6UT-1FkR for linux-arm-kernel@lists.infradead.org; Sun, 24 Mar 2024 07:44:10 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IdXLQ/J0TSycLLH1l8Nlwu8XpEmE4oqcf9kWBwZrcb+OiDYhp9oKXtK0ytHhcSdNiTwsJfrHtCzStuvI5il1yCmn6d8WTXCKzdHmIwXdNlb4vzXXwT2zbNdrtvS8WY3OvlaQhhslFkhpzuVUuxPgnx0plRuCFFRA2lkM6XvQpcA4tGHW8pB7WEkXM+uO/BQ+yj2WjCAOH8TOC+ADGiNbJ5aD8wGBD+X87It8wd5r5Nc+/f/gaAUKLgSDBUqhI705UZZmm4FfXIrVRD9PCOswuEKziePBBjN7QM/edLh0XlcHcMQaPzSaxqQ/lzSBSH92Dns1emS4ksPWaHxMIq++JQ== 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=8vJG7nyYLtXQbNZL4JHRaQLlGcrEr801+/wSHUrIZWc=; b=Xfg+aebyDtUsI82OeRc/pI00roM3pmSPF1QrisDpU3wRX/tOMEyVWfO41Dfr0OZW7JcqhYK38ZwmI6iLIwgVQqYN/z8bJsL88l+m2zn5xfYLEniUqwhMpcizpvQcDVg7KVKLpMqyzDj7KMGYuRwSIkE+2qrKVUxR8Wb8EPRYteJ0rhCWxNzIAMwtQTwmNNmfnIVP2vAYr0JduLpUailp4nDStYZMaU9el2UR+SdYLl+x8szSX5Hdlv/xNV3ZZKcphKuU28d55gj84GoP5LCuGk5vUJ3yUkKvtxS6ioe4nOT+Bpbiu/+GRWG6rXqJllbiAC2Fmk4wmeqsTfv4xxVfDQ== 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=8vJG7nyYLtXQbNZL4JHRaQLlGcrEr801+/wSHUrIZWc=; b=klkBJ7LKyDY3A/RYQfI2j6y4uoVTrSSLZXomPR3xCZem03+aiweMzabvRAfWfnnXZ0ovoOZzr1Gxbfxf5nNuwfmCd73xlJ95Y9KTNaJpyAcq+WfM2feCkCHvj24H1g7+sofiMROdP6UJok4v2sCOTbNYGg5QtvTiGtxSrjU9xM4= 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 PAXPR04MB8573.eurprd04.prod.outlook.com (2603:10a6:102:214::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.31; Sun, 24 Mar 2024 07:43:56 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::d30b:44e7:e78e:662d]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::d30b:44e7:e78e:662d%4]) with mapi id 15.20.7386.037; Sun, 24 Mar 2024 07:43:56 +0000 From: "Peng Fan (OSS)" Date: Sun, 24 Mar 2024 15:52:00 +0800 Subject: [PATCH v5 1/4] dt-bindings: clock: support i.MX95 BLK CTL module Message-Id: <20240324-imx95-blk-ctl-v5-1-7a706174078a@nxp.com> References: <20240324-imx95-blk-ctl-v5-0-7a706174078a@nxp.com> In-Reply-To: <20240324-imx95-blk-ctl-v5-0-7a706174078a@nxp.com> To: Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Abel Vesa Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1711266729; l=1998; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=Y4/LUiMlKLBfTGVdss+IGPH4VFaA9w7WVQalTBlF5Dw=; b=pwlm4dp0O9uVJj7nwzYvv+lQvtU/DgujDfy257RmZtQOvRKRUtXq7Z0ShvOrNoemUwRU702h3 n/b1PA/1q+HC39XmvGs5Z/AXfb5VhNH/jxT8yCjh3TIhzUiq9+7UTNX X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SG2PR03CA0110.apcprd03.prod.outlook.com (2603:1096:4:91::14) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|PAXPR04MB8573:EE_ X-MS-Office365-Filtering-Correlation-Id: 9a522348-19c8-403e-af14-08dc4bd62947 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: 4fMMYCsTl5pHnzO7PaPfPQwy64uaSeBVHO64qLQPXc3+ojbAHG2HWytBQW+nYjgcR2vjmYnOnnXjoHaG5Xw+ZPs57CkQm5RBa435wBFmZZyDBE7lhxDc8nb2Bn0oArpLloo1x0PV4Pyd2CbCVIHhTKPfvyUDEf648IMZQlIT4wJnNE0YDL6tEvzDa+GPv8pkBOdZ8M9o/blopvJVG4jAFcgeY07cJOj/rs2vhHD2aC5RM1DsXjL6UeE9YfLWfmyQWACnCTbt53wq2NdnUDaZ3YbeEZd+U1Yz7RreFUf9huIjbDjPS8w+B1+BZLCCA/ivwkvS8tfY0Uo68A9RBSupmHvGtnSMcL9tSlfXHWcZq/AoQ66Y6YQ/VJ6p7zz8pcqx0Ax/M7tLVqEo56bfPMeqayilgi7bqvVRtZb1Ajj3i3lLXHrNnBW+ljkSvIJkjIw0Z8uelWlp7y1OHcHvOx9pX38JH8sfa9bvSRsk2PX9w1vw+Afn0NVA4LSvfY2ZakhbOwcoqlPAv61ZwEyvUdZvuMrGXPgEvguASBs1Sq8FkQcodmcDR/T4iCuuEtBppRMNt+Mde9i+8Zq4ImmAhgm0XfUaeEoZJJiLW1UaFFxu+cHWbWLNbF13TSHCx5877zG1ARXQQoIbt+1HK3njelLkdxacFM5pJ0nFdC7PrQXdvjkEvf3sNW4EniUqGocqvMU/ 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:(13230031)(7416005)(376005)(1800799015)(52116005)(366007)(921011)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?ykVixhI7nQz72K1JsiseDepm57U5?= =?utf-8?q?4U5IRXGxrP9UXHiQ0ZroyS4kPkdKI/W8uoF119U+nqCL8odRlnaTgfOQlMZE3rkuV?= =?utf-8?q?cjHZsvxjEbyfJz2mniZn4e+QIP603Nw5C58GMusJ16VL3s4tarIebbNXd7QBpuqGL?= =?utf-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W3KYr989M4EnsB9ZtdudbIY250fglr7iZKprJN6++jRTsFBz5xF+jC6Kqo?= =?utf-8?q?lpHuRcFEm6jZUX3Yw0MAW/8pqzZtZBY5kA/3e5RzMklqFGGhQvjCNRgqRU94QaRqG?= =?utf-8?q?T3BEGBhYA6IzI+WzpIOvpENGmXFaoyjp2ZyJuK+tq0GMg1wPFvSuUboqaL/vkZqfk?= =?utf-8?q?sH2goy3dFWOlEtZ58IBGyrpsiUHKtoZP+V0oOeJVtmZn42VmeeUVHCPfeY4NbmltE?= =?utf-8?q?PKVxyKd4crqi1f+VSyxgNhWfBNFcgIjlEItB+dLuOKLB7UvwCXTtNuB2MW2pz1/CO?= =?utf-8?q?IuX6LuTnCAYUn1fzpEG7isZPukG0twU8qjT2RcUeRcBw2VGN6TDVzopQy41M3xlEP?= =?utf-8?q?m5OTRPSVHHzpZe/O3TnDPYsj5ONOSNl4BgPNGoYcr4SGCaAsG6lQ48r9XcCMMNdXD?= =?utf-8?q?Lc0OSvsN5Thg/+9LBfkN/H0g6gDzBZsqzdw9AQRadom2j+UUGEBu7r2jf7lh/dv4+?= =?utf-8?q?sM/49RizeNkL?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9a522348-19c8-403e-af14-08dc4bd62947 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Mar 2024 07:43:56.8529 (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: CkqbM7jlXl1zTx4lOmEMmSI9n7Sv6njt680DjZF0Hz7NMdsBLrmoCFtfzSfTjkDv8KYlsi+/KaWSAyyH03PFFg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8573 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240324_004409_433408_AC512C69 X-CRM114-Status: GOOD ( 11.58 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Peng Fan i.MX95 includes BLK CTL module in several MIXes, such as VPU_CSR in VPUMIX, CAMERA_CSR in CAMERAMIX and etc. The BLK CTL module is used for various settings of a specific MIX, such as clock, QoS and etc. This patch is to add some BLK CTL modules that has clock features. Signed-off-by: Peng Fan Reviewed-by: Krzysztof Kozlowski --- .../bindings/clock/nxp,imx95-blk-ctl.yaml | 56 ++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/Documentation/devicetree/bindings/clock/nxp,imx95-blk-ctl.yaml b/Documentation/devicetree/bindings/clock/nxp,imx95-blk-ctl.yaml new file mode 100644 index 000000000000..2dffc02dcd8b --- /dev/null +++ b/Documentation/devicetree/bindings/clock/nxp,imx95-blk-ctl.yaml @@ -0,0 +1,56 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/nxp,imx95-blk-ctl.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP i.MX95 Block Control + +maintainers: + - Peng Fan + +properties: + compatible: + items: + - enum: + - nxp,imx95-lvds-csr + - nxp,imx95-display-csr + - nxp,imx95-camera-csr + - nxp,imx95-vpu-csr + - const: syscon + + reg: + maxItems: 1 + + power-domains: + maxItems: 1 + + clocks: + maxItems: 1 + + '#clock-cells': + const: 1 + description: + The clock consumer should specify the desired clock by having the clock + ID in its "clocks" phandle cell. See + include/dt-bindings/clock/nxp,imx95-clock.h + +required: + - compatible + - reg + - '#clock-cells' + - power-domains + - clocks + +additionalProperties: false + +examples: + - | + syscon@4c410000 { + compatible = "nxp,imx95-vpu-csr", "syscon"; + reg = <0x4c410000 0x10000>; + #clock-cells = <1>; + clocks = <&scmi_clk 114>; + power-domains = <&scmi_devpd 21>; + }; +...