From patchwork Thu Mar 14 13:25:09 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: 13592432 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 AA1DFC54E67 for ; Thu, 14 Mar 2024 13:18:02 +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:Message-Id:Date: Subject:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=N9oqgtTT/mi38T+cyC6zMR1MYmKiBTdni/VYxdkSDJ0=; b=3A0h0yjsWt48eW wqg+FPVAu9Cq06STgtZwEtoyyUFsSRyVhR4OVi6WpHGSnsFi9FLC4fO4bwdDZ+rzXnBBezaMwe568 9FpE2i/Sn5n6CGIDzYlmFIiYwOxDglx2ub7bFrpz2eIVaExkPJywxJKCV8GY+kfRDXj/I2vVMWEqn lCaV6JgveYDLybqtiNB30Zj7BLHwUdUX1oHndEi+jVeBLkbrIVnWJ7XhiRRVu8MfzGxdUfg1uycaj +VKkOq3plxB8EK9heMgU3VPCbSczs26kUlu2C74Zi/PinnFYQwlUfOUHviBSFsSbMwVmlSMJacuqh 84iONq9ODhWwn0z6iCKg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rkkxs-0000000EORI-1bh2; Thu, 14 Mar 2024 13:17:44 +0000 Received: from mail-vi1eur04on20600.outbound.protection.outlook.com ([2a01:111:f403:2611::600] helo=EUR04-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rkkxl-0000000EOMC-2y4O for linux-arm-kernel@lists.infradead.org; Thu, 14 Mar 2024 13:17:39 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XlsiPitxYgH+gjenUiDH0KgOdwOGoj3GRSnxdSRJjenLekG/tV8k7rJJx76afAmpGTyaj0Fwi7WCQZdQmrJYbLcf0C4XIJYiu6As5kHMefOG5ky+z9+e9ACAsC7RdGY7DB0MPtGZIu0vTaTSMGszuqQqFYvVkgI5jJOlBMvZGzyeEwB6k5bQl71gnDAWalSfSayQ1L+l8MyU4pC1RccVym+ggX2aIB0N5t8DCr5t9rgH1a88g07oZtxw6PY6jrvCTnwGL++jfb68vho2GYc4vImcz4rNtyV6uRUsYbrTZ3reWADpHEQtoh6I02IH0ePqzScFoOkP701PoQH0id2SXQ== 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=7HIlyKelq6JYQD5GkQYalhNknJXytacVDoFJV5aMkqU=; b=YWhzysp3tV4wsui4sw+7ir/xmZjibqwKLOZXkfcdtFbgt86UxTtNQN4jSPZwegd5RDSFDD9485wBRtXlqbEYpR1wBj0m1Co90wLPADwcepFKKcNJfQGXuNPXiynUBq4jVCHpxykXRHmMDZ0BHrzDaeu/ANYDwxh+jFbLC+wXFCJAp2NaKiB+KK8D1x1MpN7iSLM/hg22gkVxjAyLJqObKv/yg+1xpPwtUg7ixNgSg9JVBtYEpk3axT1trHdK46lZ0jpAIv/0B5qum+OJdWaz2HCJkYl/Z8BR6aQnew3NW4Vje2MpTpNwqEIqmLRjK3hD9RbgdNosT74i1XPBCBpkow== 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=7HIlyKelq6JYQD5GkQYalhNknJXytacVDoFJV5aMkqU=; b=gMPRZkduhZ5nTr/puG1mu85xExRDftzM6uOryiUvmR/gsFroodn34Q/aeYsaIYRlzIOSG+6sUKfPI70izHBgPFZTITZQ0LyjMPYfZRJmsPooUULe4622bTKlKxqvGR61ImtvI8G71XlaL7p0pWYFqZIYqnqal1E4JJMPKKI+c2I= 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 DU2PR04MB8806.eurprd04.prod.outlook.com (2603:10a6:10:2e1::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.21; Thu, 14 Mar 2024 13:17:26 +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.017; Thu, 14 Mar 2024 13:17:25 +0000 From: "Peng Fan (OSS)" Subject: [PATCH v4 0/6] Add support i.MX95 BLK CTL module clock features Date: Thu, 14 Mar 2024 21:25:09 +0800 Message-Id: <20240314-imx95-blk-ctl-v4-0-d23de23b6ff2@nxp.com> X-B4-Tracking: v=1; b=H4sIALX68mUC/33MSw6CMBSF4a2Yjq1pL0XBkfswDtrbW2nklUIaD GHvFibGgQzPSb5/ZgMFTwO7HmYWKPrBd20a6nhgWOn2SdzbtBkIUAKg4L6Zypyb+sVxrHlJrkD pUCEAS6YP5Py09e6PtCs/jF14b/ko1/dfKUoueGlyTRlKZYvs1k79CbuGrZ0IuxaSdc5ciJw5W 7S/Ntu1WbJKIBktpAYpv3ZZlg+rwQ21IAEAAA== To: Abel Vesa , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: linux-clk@vger.kernel.org, imx@lists.linux.dev, devicetree@vger.kernel.org, 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=1710422742; l=2072; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=tPu4pe/a9f9123M+d6FMhMhltm6F8QNItTOtX+36WjI=; b=X0DXT91twUIzZa7VNrSLGxWWALA2gC6aatKNlqZ08r2ISH1e0702joPcy6aD92ikrA8hHJEBy z1UDqVvyetbCK9+Brj462fKzISWqTjIP9QVVwEKzHYRHNqFa6lPS4cO X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SG2PR01CA0130.apcprd01.prod.exchangelabs.com (2603:1096:4:40::34) 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_|DU2PR04MB8806:EE_ X-MS-Office365-Filtering-Correlation-Id: dc1c9e3a-29de-4799-1590-08dc44291643 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: m8GrdkwQOxbtg7abyUTVsrtblXU3+e/Gw8e0kMmYH7YTc6N3IJz5kEMX/vXgTCVZzQzBer+4bag405JZbtB54wMMZIKKrg12itc+ZccT0ZB2OkYys+XaBmJGvZ3oJqQnqUzaox+L/c+pWJxl8gMeaXbMGL9VmIYBShrD78xZM1weVlOsmIwGN21Ympw+Vu3Mu1FFN1Y8rWm1kk+j5VXjI/TFO3nhwmVdAVjecfAwFNV8PYLSs6to8VE204YUYWFR5Deg8/jMhqiFxgw7hmzW/9Ya8RGiQxt28bjtNRx7tlzGRLlfX0osIxsTvZfB7Lh388nBhUN/ODrt4INq/wtHlAsDZ5JvFW/zeXH7fzDXwALupAWlF03Dy/y2Q7i3her0fmDe0CfH6n9eff5DMg0z0XLs8EhkaSjOSIPKokVz1ky/2RvZCkiNXaoHax7bJUargaGogvsErklEeCV58qwoqjCroGmrxshmiCH7FxxC08KRLnqzB1ujnyOof/qx5W9I1+qCiD7wP6EZl24LBqAiNe2I0iBGZE87y6Vx8I7OH0xNXi9mzbjl1QAGBo4dXjGAwTILyBxB48k7RYC9XsEOd0Jz4Ue4Rv5/Lv2LdgYfPzqras3BxSlHwFvwTfD0EKdBcScXFS5ef9/k0/YeK/qTIS/4TGRaQIuzZyZ35wq4aoY= 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)(376005)(1800799015)(7416005)(52116005)(921011)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?QSF5FsDKVTIWlGomefe/6w+0AxW1?= =?utf-8?q?tihlcd0OSXR7/Y+yA7VMOZAaeucArkWM1+4QLrWyw4MgE6kELCJzCvrUF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XJ?= =?utf-8?q?N+uNpWILHj3ayBRitf/qy0cCiwLTS1LDnx03r4Dd+qOQKe57gSV2c6HHIVgFQ8+sq?= =?utf-8?q?YCx0VFGHSWjlrRgewS8Adj2C5bVvlb5UE4MOABeANBKHj9c0B5zQJuGD19JV4OvTP?= =?utf-8?q?s3B4n33c7kZiu1OQiwXSxqeYRIv6FaxlY7u/VW+3F88sVzbO7F90bgi/UsFctZYNw?= =?utf-8?q?XC9j1vJzSvctMoB1bjsd+Epo0CDV+TG6g21QVPW+IR3K+29KjPD0w5TzWkaCWr4rG?= =?utf-8?q?n6ao5liGi3VDu+BdQTnRzZy2LCFHGIO4C4szaXIaUtk1bkEdeU5gof5qLHEv3tjEs?= =?utf-8?q?FQRdRzfJ05+M3n9fD45Vt7e2/acWTfTfvzUPYz5AnTvhYE8MHWoJ+cDTkVjRB0utZ?= =?utf-8?q?lUom29WuSSc5HZG7fUOC1/aNgoYp2PcVDPUZM8WnwlHvpZx33DmSPSJXJVmukVZow?= =?utf-8?q?CJ6Vmc69Pni/BpIqoBPstzuHhRaVUwdHn7ZnVsrv/PSADtoilhliamOFRzXaeRsgG?= =?utf-8?q?lEeHjHQlPykyrYK9m9LiiPV5FbRCPd2yTYrIC/ixrExslUH8pn3O2WhnRzy8A+7DB?= =?utf-8?q?3UZ3ZB6nxsHS?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: dc1c9e3a-29de-4799-1590-08dc44291643 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Mar 2024 13:17:25.8774 (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: SLK7l2DBDbLW3mIwpffu+KstswtqHOEqky1TFx6gexPYTPqDui8p91qPf62fwAo7VMCyRKdYU00IxSsyu+azZg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8806 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240314_061737_859550_75DB0CFB X-CRM114-Status: UNSURE ( 8.09 ) X-CRM114-Notice: Please train this message. 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 i.MX95's several MIXes has BLK CTL module which could be used for clk settings, QoS settings, Misc settings for a MIX. This patchset is to add the clk feature support, including dt-bindings Signed-off-by: Peng Fan --- Changes in v4: - Separate binding doc for each modules, I still keep the syscon as node name, because the module is not just for clock - Pass dt-schema check - Update node compatibles - Link to v3: https://lore.kernel.org/r/20240228-imx95-blk-ctl-v3-0-40ceba01a211@nxp.com Changes in v3: - Correct example node compatible string - Pass "make ARCH=arm64 DT_CHECKER_FLAGS=-m -j32 dt_binding_check" - Link to v2: https://lore.kernel.org/r/20240228-imx95-blk-ctl-v2-0-ffb7eefb6dcd@nxp.com Changes in v2: - Correct example node compatible string - Link to v1: https://lore.kernel.org/r/20240228-imx95-blk-ctl-v1-0-9b5ae3c14d83@nxp.com --- Peng Fan (6): dt-bindindgs: clock: nxp: support i.MX95 VPU CSR module dt-bindindgs: clock: nxp: support i.MX95 Camera CSR module dt-bindindgs: clock: nxp: support i.MX95 Display Master CSR module dt-bindindgs: clock: nxp: support i.MX95 LVDS CSR module dt-bindindgs: clock: nxp: support i.MX95 Display CSR module clk: imx: add i.MX95 BLK CTL clk driver .../bindings/clock/nxp,imx95-camera-csr.yaml | 50 +++ .../bindings/clock/nxp,imx95-display-csr.yaml | 50 +++ .../clock/nxp,imx95-display-master-csr.yaml | 62 +++ .../bindings/clock/nxp,imx95-lvds-csr.yaml | 50 +++ .../bindings/clock/nxp,imx95-vpu-csr.yaml | 50 +++ drivers/clk/imx/Kconfig | 7 + drivers/clk/imx/Makefile | 1 + drivers/clk/imx/clk-imx95-blk-ctl.c | 438 +++++++++++++++++++++ include/dt-bindings/clock/nxp,imx95-clock.h | 32 ++ 9 files changed, 740 insertions(+) --- base-commit: c9c32620af65fee2b1ac8390fe1349b33f9d0888 change-id: 20240228-imx95-blk-ctl-9ef8c1fc4c22 Best regards,