From patchwork Wed Jun 29 16:44:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Viorel Suman \(OSS\)" X-Patchwork-Id: 586083 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 F068CCCA488 for ; Wed, 29 Jun 2022 16:45:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231230AbiF2QpL (ORCPT ); Wed, 29 Jun 2022 12:45:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54294 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229681AbiF2QpF (ORCPT ); Wed, 29 Jun 2022 12:45:05 -0400 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2074.outbound.protection.outlook.com [40.107.20.74]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E8623336D; Wed, 29 Jun 2022 09:45:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Oh800PTF/+aly5gKUauPx7p6YwFrCoPqBMLW1P7TGVmPS+7zw0uEDNPCXa7hTJuVbFIej/Aeqmo612V5SreAdOtKhECH0eVqZrDsRnK+Usarcfa/SBHnceTI8ITRWhCUJyoYNUfuo497j/b/k8GcGQsgfwc9epRgfRY1B3pue/ayxA4I48izvuIg9JpNrZqYuJJ63AZp1x/GT0Tq+3M4M5f9bPQ4e810QjVlyla/eRW+txEuTFirspxAt7rxoa6oafnCaiczMD8FlFZoAkiwEx0aXMVZZ3R2vEjx5snUGQQtFTItZ+ukx88tmQbPBNzrrO6PGtMhv7BiobUfKUlqEg== 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=cTosZOddEdbWWgBLMwqV+YHkeUvJ5AzmezHDE9YXvXY=; b=G5LFgm40UbgXFOIzx0UZ/Gx1kwbUoMSVwR2MqfXVwFLiJ74e1Fs0AYO27M/zg8GXtk9hSbgnSWC6OuM1Wv9eUTwtCid7oyzNgkYyVoM59I9h3Y/9AYQSohT9Bzd+S19N4qbZg5RmzfT0o8xHhgtCqpivRVpEaaJ9Hn7mTjLmAGFfltF03pZrEpfM0wl4Fie1T5nVw6KMV6V+4sDOHgZ9OLa/qhpoWFXiD+Z6jwCBB5WmW/XPi8X6DOfls4G/5rTRnBIcH6CWnHJoPCc0Q7hy3pzq7smiOnUXPMl9Simd7Hd3Yx7k00aFXSR6ZJoBRm/1+pgRupNBom3Y8i0Bp8kLRw== 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=cTosZOddEdbWWgBLMwqV+YHkeUvJ5AzmezHDE9YXvXY=; b=M/IG51vFRe245BE/Oy0UVJP1WpjhpLsUIcTfdBZ0agYDiCdoakttJzhKW9OJpVg2/GugYIu/mDHqP1Q0/F2iwwnLnZCmClVk5YSTelnPsva6I/Fa/+O77bx14mzqaThCVKPN0YJQX2Nh0fpVN9l28gzyOndL9hx1ro53vKXXFSk= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from VI1PR04MB5005.eurprd04.prod.outlook.com (2603:10a6:803:57::30) by AM0PR04MB6401.eurprd04.prod.outlook.com (2603:10a6:208:172::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5395.14; Wed, 29 Jun 2022 16:45:00 +0000 Received: from VI1PR04MB5005.eurprd04.prod.outlook.com ([fe80::6546:3ee1:5e6c:278f]) by VI1PR04MB5005.eurprd04.prod.outlook.com ([fe80::6546:3ee1:5e6c:278f%5]) with mapi id 15.20.5373.018; Wed, 29 Jun 2022 16:45:00 +0000 From: "Viorel Suman (OSS)" To: Rob Herring , Krzysztof Kozlowski , Michael Turquette , Stephen Boyd , Dmitry Torokhov , Srinivas Kandagatla , Dong Aisheng , Fabio Estevam , Shawn Guo , Stefan Agner , Pengutronix Kernel Team , Linus Walleij , Alessandro Zummo , Alexandre Belloni , "Rafael J. Wysocki" , Daniel Lezcano , Amit Kucheria , Zhang Rui , Wim Van Sebroeck , Guenter Roeck , Sascha Hauer , NXP Linux Team , Abel Vesa , Viorel Suman , Oliver Graute , Liu Ying , Mirela Rabulea , Peng Fan , Ming Qian , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-input@vger.kernel.org, linux-gpio@vger.kernel.org, linux-rtc@vger.kernel.org, linux-pm@vger.kernel.org, linux-watchdog@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v6 01/14] dt-bindings: clk: imx: Add fsl,scu-clk yaml file Date: Wed, 29 Jun 2022 19:44:01 +0300 Message-Id: <20220629164414.301813-2-viorel.suman@oss.nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220629164414.301813-1-viorel.suman@oss.nxp.com> References: <20220629164414.301813-1-viorel.suman@oss.nxp.com> X-ClientProxiedBy: AM9P195CA0028.EURP195.PROD.OUTLOOK.COM (2603:10a6:20b:21f::33) To VI1PR04MB5005.eurprd04.prod.outlook.com (2603:10a6:803:57::30) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2d4e43df-9278-4c91-643b-08da59eeb4ef X-MS-TrafficTypeDiagnostic: AM0PR04MB6401:EE_ X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-LD-Processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: zElbaNrDTuwTLyW7ftBkuxtDQLs5rGGYIX6cUwD3q226ipnl6lYcC3C4r7aSnLnJpg/COfi7q8uclPIQFyVJNQsHgcsFB7YQ9xbu2o3i9ccMcQkS1BUgMrZrskUvvtDVhqXwDElkKdmrjE1pjvW4eWXkWNx1rXyoXmNafcG0Fpf40PaEO679phn8+p6O61IZA62CxsSWkYx1HjFmtfbyxCRuqnalwblTuFV7x62c0osqZhTczjREqyQvEHls16Msl+EtM6f3rc88kDwEPQekChaL4lgMHTneeHoYdunTv5aOdEz7gqQSLg9Ktd8E2aoUf8LlWcGIXuwqABvj8a5LBx7MzLkA7jem8L8/8bJ6PVvR7tEvlRygCut5onEc5DiZ4mlysGCfYHwwri9tHLW7oQni08oFPNRXQfpmxgk/+0oqi2tW0ikv0VlAKL9esj+l54lqZxlicltKZRj6TwSREwdO5MaIJaaYFBYHXmhIrke5s8nz0abf/+vJWnkd3oH52DKt5OsLrjM3VgbKVgFofJar0bjmnCf2t0Kyu0rm1mibUySHiWTqE98GUtjS3RT7KigGwZCLf1mX7SkqBpYS3/Ljv2pkkDy+KktFBQDfNuiZsMBpQs0NZQzk3NFP+L2VghYQ/wgq2ivDuRQuKIrzIfzBxPK7Q8f46v5nrLrO7/aW4NU1bh0VfaYqOoBuUdnbVdQ22eOFLxUY7eS0/1UENkNScDb5VmKvfuvEhQRZpMVOe5lC7KxHQuUAUoi1nD2QaLz9dbW71cfKjoyAcp3g3D27MRXnhLWhMeuvCxAZjiIaK9A/HLZzhPAFYDOL3RBWlXchCucK5rsKOWmVA3JXD8TgrUJLNWnMAG+LW7mmb0+ng9lLpHNKtjwWlV+kos2f X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR04MB5005.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(4636009)(396003)(346002)(136003)(376002)(366004)(39860400002)(5660300002)(7416002)(38350700002)(110136005)(38100700002)(8936002)(316002)(2906002)(66946007)(66556008)(66476007)(52116002)(7406005)(8676002)(921005)(83380400001)(6512007)(26005)(6506007)(186003)(2616005)(478600001)(966005)(1076003)(6486002)(41300700001)(86362001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?iso-8859-1?q?jHjNlETJhEhe9ZBenYrAr2E?= =?iso-8859-1?q?QgJr6/8L1wPtTrdRRu03VkmL3K0IVjMgN6CNlHCX9zN1JTZzwm3yj1+dNaGe?= =?iso-8859-1?q?Db1c918CbRxY5Qoasa7e84OgKV/Xv+o0zYD3/o7ZcXuDnYNObSxLAFCzy5uc?= =?iso-8859-1?q?r0hb1YF3fo3E2UhBB7+tLLcTJvv7IeerOZ3AwsqUldKSqMsAtiK85q2pk8rl?= =?iso-8859-1?q?3/p2Lz4FNux3OQ9cQNTHQU7fPVKZ58mf9hIWumhbfjN2+6lcV+KQuMAMhDnu?= =?iso-8859-1?q?5NUHX3JMzF8xM4AX89hfW6Vv77gwDdiFyOxfKDfWOyfh8g3r6+7GHaUAd3EZ?= =?iso-8859-1?q?2qPHfjeISDlEtH46NvQyJH31+a736WNdmTaE+Er29Gil4PvX2PS+aPLE8Km5?= =?iso-8859-1?q?fFc/f6eic5cQWgn4Acpz2tPe97xkXOVX+ugXcEDMm0Q5RzSuhd3tC48PebY4?= =?iso-8859-1?q?rT+gwEZ0FKD266MnTPDxdNqS0sqsod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gwgdxk3+Df?= =?iso-8859-1?q?wkuUdZDaKfkZdIcmLfYjHC1YJjV3odaWHCNJBSz/NTFFPRwj2ywIWaxw6Ci/?= =?iso-8859-1?q?ke8OM9S6nnwj0NYC9ou9D/iLaiPXOudFh1ZSJ4IxyzVLJsrB6+RceX9YNiV0?= =?iso-8859-1?q?+VxULAk0OsCE8DnhWFS/yPX5M0p5CFnY5TTNwOCHEe4Cs8ia2StIjcs+LX4U?= =?iso-8859-1?q?RoOTqDxU0/EMc2ini5sS4IYsz2Xl7bkTz++pWqoliNa3mY15XIZwuREZWtn3?= =?iso-8859-1?q?HUxl1j0ur6ZUGLDUU?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2d4e43df-9278-4c91-643b-08da59eeb4ef X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5005.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jun 2022 16:45:00.1522 (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: ElosnpZea+MwYs5pgiN7OS6YfsRM8p42Y7u5AM11G1/e6AZz3wjhCI10gvWlzcka5G12116UgQpgFEFR540WlA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB6401 Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org From: Abel Vesa In order to replace the fsl,scu txt file from bindings/arm/freescale, we need to split it between the right subsystems. This patch documents separately the 'clock' child node of the SCU main node. Signed-off-by: Abel Vesa Signed-off-by: Viorel Suman Acked-by: Stephen Boyd Reviewed-by: Krzysztof Kozlowski --- .../bindings/clock/fsl,scu-clk.yaml | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/fsl,scu-clk.yaml diff --git a/Documentation/devicetree/bindings/clock/fsl,scu-clk.yaml b/Documentation/devicetree/bindings/clock/fsl,scu-clk.yaml new file mode 100644 index 000000000000..f2c48460a399 --- /dev/null +++ b/Documentation/devicetree/bindings/clock/fsl,scu-clk.yaml @@ -0,0 +1,43 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/fsl,scu-clk.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: i.MX SCU Client Device Node - Clock bindings based on SCU Message Protocol + +maintainers: + - Abel Vesa + +description: i.MX SCU Client Device Node + Client nodes are maintained as children of the relevant IMX-SCU device node. + This binding uses the common clock binding. + (Documentation/devicetree/bindings/clock/clock-bindings.txt) + The clock consumer should specify the desired clock by having the clock + ID in its "clocks" phandle cell. See the full list of clock IDs from + include/dt-bindings/clock/imx8qxp-clock.h + +properties: + compatible: + items: + - enum: + - fsl,imx8dxl-clk + - fsl,imx8qm-clk + - fsl,imx8qxp-clk + - const: fsl,scu-clk + + '#clock-cells': + const: 2 + +required: + - compatible + - '#clock-cells' + +additionalProperties: false + +examples: + - | + clock-controller { + compatible = "fsl,imx8qxp-clk", "fsl,scu-clk"; + #clock-cells = <2>; + };