From patchwork Sun Mar 24 07:52:02 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: 13600767 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2065.outbound.protection.outlook.com [40.107.20.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B10BD17742 for ; Sun, 24 Mar 2024 07:44:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.20.65 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711266250; cv=fail; b=QVpTES2vsnaaZDfuABe8FkVfB45lODKs7j5Knz8dGmAOT+xklbOaIl0x7M5SHl4AtapGrcCDSrHWTkPNxwU53pkL/0DIbRlNUJbnUBNEftreRNWi3cZ8tUhgnVi54sNkY/OOPE2sTfYZoBT7svZuGNHgLLh6AiE20MsxC6uxxsc= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711266250; c=relaxed/simple; bh=7tdr3h/HTTEJE3q8DazH5/K0y+BnTjed9OAXzpMGoLk=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=MMzLsyCjBacmXfwEWET6hIAIFl89oJFf7IxNCkFnnk37dep4ueFdQL28XLqgIoNPBplLrGAcogE89r4OhfFv83taNiVrtONBkdd1bwaUoo+Dsg9MUOg3fk+Y3Mk24lPdCrqQkprA0iiZWg/h2rs5RgyIkbCYHp1BL3MSnhMN9q8= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.nxp.com; spf=pass smtp.mailfrom=oss.nxp.com; dkim=pass (1024-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b=k3ezXKWh; arc=fail smtp.client-ip=40.107.20.65 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b="k3ezXKWh" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=a8T4ZL3JTwfhGxXdXuio/lFFf4lxq2bA2zqjpAgJ0XOHYOF4zELQfhcQkBCu0BoNhy2ejbHdMgT2DJ9lVHVA/cA8vT6RtNwbegjYLC+287g4X2xGdk/DlE2miGKoc3ui+srmFl7VX5zA7xVEJ2/dPh2IfcRE25OZ3OBNxDditr2/sGQC5zdACtFd+dLo0Q8GjnVI0/CNhvFiBpc6lMagMoxviDS74eb2idiZtqOfQqUNsRVuoPeS38ngkRfV+djxFd4seYaZ8FuZ7UXjy9LyP3ibW4jZ7eyQDz2dpMrakomAMZrbIsHpxux0jx3jAKwo0+pwaozNd6g0zCUwYiERmA== 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=e6pAU5eB93W4CduMOMhCHfS66QhNiKyFrkaoZUM3IhY=; b=Sk7AoC8Q+gbe3xzRHM7uT7YLHnOoaoCzIvcmklcqYrufEnUAe71BUFLJQpFpmbDDcix0NyWiVP/4u7SvALAf3z7pm0K5hj+EZ/zDszRA/TqgR2yuT7C0bgHtC/cZoglzFy1KoLC1/2mvT6tR5gXj8gWyRffTFnBl8/8ocX7QeTBtPHLIEcWo/LpmkvblheSYT86IgoH/j0wy5Y8ntIXWxu/fQO/EVJDrHlBj0chBenFrY1pGCxmQI+QdsZ/CE2EzQTXYIVHi7TY1CFNgtTF33Yl5EyP68TGAMvzMOyp+qMui9sfcWQKtO9Wb+O3uG6vfNa+uTDehMo/rerZ5QbhVZQ== 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=e6pAU5eB93W4CduMOMhCHfS66QhNiKyFrkaoZUM3IhY=; b=k3ezXKWh0iMhuvcMcqW0uQXT71l3BNnfb5g/fwFSv59UryXN8fCp1ris3lra1s9oFqFEUZarbLBj2h8YGc4d71HPWMYT0Z9zIiFIu2Ul0kdrFrBkRk14bLr2CQCv0pdU9xBPCn4DYCj5jazv0gZ38UslzocdXulXVbBcy35a5mM= 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:44:06 +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:44:06 +0000 From: "Peng Fan (OSS)" Date: Sun, 24 Mar 2024 15:52:02 +0800 Subject: [PATCH v5 3/4] dt-bindings: clock: add i.MX95 clock header Message-Id: <20240324-imx95-blk-ctl-v5-3-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=1454; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=6c81DhzZwxP9cW4ETMKqIYeVfbSUSl1cFIcvnIyWuH4=; b=TxXcyR9ZB4Prtd/4AicN/aDgYIxz8Wp+Y0yrojWoLkWJ0ukMsWYde8EMe4M0dux+r6TaMFutQ jUeTCh1Xyx/AyJSy2bhReDimQlpNSX60nQLSrj9MXJ06+I1Tsc3wvDC 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) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: 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: 48732bac-3505-454b-12c0-08dc4bd62ee9 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: odd00kEPB0L+xmGMerHJ5wsqdjRNJT/ulV26LopASP7traTbKPQttt2+6YJb9SFcSguREu++AN9PGUCHgYReuvTcI57lB2ULuxzxkbDDUp8UzB1zo3TzfH37noTtzKFJlRoEookv68zoJQnK0/YPf0gKYGjKC7lTVRL8QtVMNLAjYNsW9830KE+xkGjghBqkKrg9Psju2FTOj91vd2KRIaJrRo0SJ0UdD/qIZ3boxo5l5xSZpNKtGB9OG8beIzi/Srihuu9fDjGxO5Y05SJJNxHOilsgJE7NHaa/o0/07Ipj8hC1iKN1gqRYdJShwvcQN/ONk7HX0RLdfVTFh97c1Xl2mru/9NJ2+NprBH/wkWIctE4q7FoSIoLu61JYtOK3cBcx7lVkJBO9sJAKZpCZe2NCVxG+BuZFNkIP2SXsGO2DzV5RcdQwVVeVWZj6YV0WWfuFCqHABIERKAAI23RLrfcevLdLdKj5wuQ3c6gEv752+xtDjkJUgbpD9G1gpffHBtsW8G0yT2jwqFmy9e1xbkgngtf1v4jkvt0Lr1RLoFbd9pNIz770Jpz7nXBUA2Y5oLWPUxL6mypcR/FdT9nBhin1z3J6EothZZSO3uRjdZYOQYJ6Hb/n4W6bTMC4fUaeSnu1m6fJ8mHTdnOzHrea5ADUP4daG0M/kuHvVlAcrrmVrt8Ha6Go2E69+Iot/5Yo36jzuA6JvH2gDn2MLWAphanYs5D6UEoeEaK6CAleuzo= 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?0HJ7VFKw5Rm6J19/c0ulU2DtD4OK?= =?utf-8?q?ngDNhhT2tFkYojEc2hEJCrkEvC0xm5zMJiYyWhfwqS+Tl4exiODO+xrwkdRSMgq15?= =?utf-8?q?EbMnpBeOhMVPSTINO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iIfPW8tH3hQaCmzGwEK2yjgXNIdqIQgcjPKk3DD?= =?utf-8?q?8/uFsZmT9Qm9DnLyfCqJ4ewre+IG6oVExOs/BZ9+dHSXcZ4av/b9+otCa/GKYPKeL?= =?utf-8?q?MWSX9WC0jEWaC/RSx6uTrh7zyZf6/6ksk1KUkdkODSrqBH6j6BU8Z1GMjuMThMzVN?= =?utf-8?q?IkddYl3RPiZ+T8C2RM79ln6TzZQ8HNK6fDkYW34dlIQciT1T7T5uqjOrEkOpx+xw3?= =?utf-8?q?srRJ4B8SrX6NgiKn3ntgtMjeC3oXFBe1fOVNgo9X63xLASM2C9N/dDpLd4Agwhumt?= =?utf-8?q?4Qo/Bdyivjd/qNGocZs8CBanfQHcSjXwB+biD44alKT5S+BVv6TGXmcTpnzdVdgWr?= =?utf-8?q?nyVq4ZdDu1QJ7nvcvSGL5ePT9SrV7j3T7aP70fIpjt02nHttK3h2DfICGEEjNkiv8?= =?utf-8?q?qAZR/TBHe90TGaI7jUIsdx6fFmWwY9aDqLm3+G9OoKyG75GLH3c5pUGWymUcTQyIh?= =?utf-8?q?X4CJefFxkDw/8KeDuO1KRC+2aXofTr8RoP5Fkr9aivT/TWRZT0m4z1wz01dFPGXyh?= =?utf-8?q?XXC2ECAElxnI?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 48732bac-3505-454b-12c0-08dc4bd62ee9 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:44:06.2735 (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: vefhOPMjH1YdFb6Q4/kbC8WG3StjZ1rNpO+7UU8eRpmWUe1ejsQip78feg2QfzGzGEIunqEwUzLMxF3vRHe+BQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8573 From: Peng Fan Add clock header for i.MX95 BLK CTL modules Signed-off-by: Peng Fan --- include/dt-bindings/clock/nxp,imx95-clock.h | 32 +++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/include/dt-bindings/clock/nxp,imx95-clock.h b/include/dt-bindings/clock/nxp,imx95-clock.h new file mode 100644 index 000000000000..83fa3ffe78a8 --- /dev/null +++ b/include/dt-bindings/clock/nxp,imx95-clock.h @@ -0,0 +1,32 @@ +/* SPDX-License-Identifier: GPL-2.0-only OR MIT */ +/* + * Copyright 2024 NXP + */ + +#ifndef __DT_BINDINGS_CLOCK_IMX95_H +#define __DT_BINDINGS_CLOCK_IMX95_H + +#define IMX95_CLK_VPUBLK_WAVE 0 +#define IMX95_CLK_VPUBLK_JPEG_ENC 1 +#define IMX95_CLK_VPUBLK_JPEG_DEC 2 +#define IMX95_CLK_VPUBLK_END 3 + +#define IMX95_CLK_CAMBLK_CSI2_FOR0 0 +#define IMX95_CLK_CAMBLK_CSI2_FOR1 1 +#define IMX95_CLK_CAMBLK_ISP_AXI 2 +#define IMX95_CLK_CAMBLK_ISP_PIXEL 3 +#define IMX95_CLK_CAMBLK_ISP 4 +#define IMX95_CLK_CAMBLK_END 5 + +#define IMX95_CLK_DISPMIX_LVDS_PHY_DIV 0 +#define IMX95_CLK_DISPMIX_LVDS_CH0_GATE 1 +#define IMX95_CLK_DISPMIX_LVDS_CH1_GATE 2 +#define IMX95_CLK_DISPMIX_PIX_DI0_GATE 3 +#define IMX95_CLK_DISPMIX_PIX_DI1_GATE 4 +#define IMX95_CLK_DISPMIX_LVDS_CSR_END 5 + +#define IMX95_CLK_DISPMIX_ENG0_SEL 0 +#define IMX95_CLK_DISPMIX_ENG1_SEL 1 +#define IMX95_CLK_DISPMIX_END 2 + +#endif /* __DT_BINDINGS_CLOCK_IMX95_H */