Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2712173iof; Wed, 8 Jun 2022 10:24:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx2G6NCBTh4cpUIxWE61fXvPhi2pgbJSFiI6tWC4g7TpJo4dvPJb8BCXXsCSDFh0X71tYne X-Received: by 2002:a05:6a00:c88:b0:51c:1001:65f9 with SMTP id a8-20020a056a000c8800b0051c100165f9mr18398229pfv.66.1654709091448; Wed, 08 Jun 2022 10:24:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1654709091; cv=pass; d=google.com; s=arc-20160816; b=XBy7viDuKB6DNxtv94KBI2ePyCafg2yFmiBzCp5EqYqWt/GaWI4JpQ+QvNG9+i5HzL cPt4RTRz62763MAVOtQJJy7PdFUqYFbbDXfLlxlTvc7hKQ8hRqt8qgETZ10CiP8rOW1N 44zTooMMxqMmu3x/rD33MWSJusTUH/5bJVH7IfEccpYrPnzv8kHqFa4FWT5FGLIGYjma ghkMH5tyscIHG1fT3RNAB3h11rm9YookYkkqEp1zkiB7B9BCFGRNpCacYVcRb/fDbP45 D39a0qB4MQkPdIbD6hBzOlAnTDf8UD4spgcPfthg910kyZpnBjNgBelZGJD4jonYtwr4 WdCQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=dHJ7KKr3BTTj3gzs1gKfNtuSo9XmUvSvM1x8yKxpDQM=; b=dss63qY7rLzKilXfF4T6lIbAKqRqsbvscaoAkprVw8XqeMlMFaxrk6n+HrQ1e5/51S OokeGhdQYFnxe8mv0p532DmWg34TnSXU6tEDUu3oPTFdmvt++XWnlKggiiv0IZfU6vGU ctx0u693nBHJsk+spAHn9OeBfIuJVKG1d0A59I4cAzCxJ7MUeesnti5BGCxJx+1Kl6Yw L5/2liLl/avhikfU/1m0fR6jKX1nkOAeYUDQsVWhtqaweSqYKroi/dvsjltCLhqkG4uG ThELSyj9QuYvY3fx3jZJ2AGm3DPHUCQjYPUd11UTwKuZXtYjbtTPfsPrSKKyHM7ckxG2 +AVA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=YlhdoTF5; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id pj5-20020a17090b4f4500b001e336c884c7si33691714pjb.182.2022.06.08.10.24.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jun 2022 10:24:51 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=YlhdoTF5; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A85D818707B; Wed, 8 Jun 2022 09:50:10 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343601AbiFHQt6 (ORCPT + 99 others); Wed, 8 Jun 2022 12:49:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45994 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343561AbiFHQtt (ORCPT ); Wed, 8 Jun 2022 12:49:49 -0400 Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50053.outbound.protection.outlook.com [40.107.5.53]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5279A5046E; Wed, 8 Jun 2022 09:49:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mdkF12jbix5bA9ch/wqqTkN1I5lyT7ngjyrkxgp1mrL5O2VLWHZ5jACbrntiEhIR1rQvsRXYSacI1rqbJLauPGbX+IdoJgq0OjF1qwm/HjgKgGs29woqaxG7mtg0cZRxguv8l87hX6WqHcX9lyfJjWOUM53H4kx0XdaoDGlNZz0ew0h9mRst2lCG7rT2PHffJu6+g4j1Has+34r3Ko/3Au1uL7aQLdp2do0SqmDhpmp9qO88A5KnohaDlDDKfHnGIuJUaL8w/Oa4EPW58TdlhoDpex0+ygiRvj/UP4xk4+v/euyWRUXbT2+z45jZD8G11Gs9L0hqxLlKtqY4ZryVjg== 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=dHJ7KKr3BTTj3gzs1gKfNtuSo9XmUvSvM1x8yKxpDQM=; b=UvWrnzCZDKo4vcdkJwVQVFguwqMSOII1F+SiwK6L2xvILWxP9CIcilBpj9Riku3X8Kt/3zh7u8SMol0itasOGMwG4EdHxVL8Sj3GKK4J3Ej8kGqjeKqWIVsm3GdHEZ7S4TYL4SLXvJlYjCe1CJMccM7IUAcfVetyvX4YlsJ94HPzGbQUSZt5oplJXet0xI9ZLQMS1LfqjKCAkjLbTbxyJ3KQatcDElVpmhQybuRzYS5py7dsRV8Wt2t2CHTvORtxBOjPAZTWr+85yjKoEtNC3wHXWoUoFzDgqdrWc0PXjOauqx+kbd0jx2+52dCRqwnOcbZvcA1Gx1yBd/44chVV4A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=dHJ7KKr3BTTj3gzs1gKfNtuSo9XmUvSvM1x8yKxpDQM=; b=YlhdoTF53Ep+4KHQuMY35NXonJMgxILvkH8J844rY76NpzFfZ9ikr+E87Qmq8Irjl0Y1+zr5ZfQv7KSMw8tfMcD8eaEH5V3I3+9sA+AZp2pZEoJEfBVTFsu/52X5xfckhulL7lKt9BDKqjoy1alTRJINf1euWAmRbiwHMjNNv2Q= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from VI1PR04MB4688.eurprd04.prod.outlook.com (2603:10a6:803:6a::30) by DBAPR04MB7431.eurprd04.prod.outlook.com (2603:10a6:10:1a1::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5314.19; Wed, 8 Jun 2022 16:49:46 +0000 Received: from VI1PR04MB4688.eurprd04.prod.outlook.com ([fe80::a541:25cd:666f:11b1]) by VI1PR04MB4688.eurprd04.prod.outlook.com ([fe80::a541:25cd:666f:11b1%5]) with mapi id 15.20.5314.019; Wed, 8 Jun 2022 16:49:45 +0000 From: Abel Vesa To: Rob Herring , Krzysztof Kozlowski , Dmitry Torokhov , Srinivas Kandagatla , Dong Aisheng , Shawn Guo , Linus Walleij , Alexandre Belloni , "Rafael J. Wysocki" , Guenter Roeck Cc: Stephen Boyd , Pengutronix Kernel Team , devicetree@vger.kernel.org, Linux Kernel Mailing List , NXP Linux Team , 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 Subject: [PATCH v2 02/10] dt-bindings: clk: imx: Add fsl,scu-clk yaml file Date: Wed, 8 Jun 2022 19:49:20 +0300 Message-Id: <20220608164928.2706697-3-abel.vesa@nxp.com> X-Mailer: git-send-email 2.34.3 In-Reply-To: <20220608164928.2706697-1-abel.vesa@nxp.com> References: <20220608164928.2706697-1-abel.vesa@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: AM5PR0701CA0052.eurprd07.prod.outlook.com (2603:10a6:203:2::14) To VI1PR04MB4688.eurprd04.prod.outlook.com (2603:10a6:803:6a::30) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c8f651de-93d1-401a-3300-08da496ee49b X-MS-TrafficTypeDiagnostic: DBAPR04MB7431:EE_ 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: adQ6Irj5oQDrSsRcGzlALNj4+iRZH+1sagm+jxmUOOV8z0b5IpDja11E6G7CI0KnMDfWWj2/xhkuPeM68CERLc/rcc77aoOjPeheo8ROYzwHCiNocZYXUt7kXsEUn7JcU+pEGYlpHyrn7Xe+nhyeNXVgBNNWZWPOhM15dW7SKYS0vHKUUJw3B32PF4a/qTgA7Wip1xl1mA4rKvPxnxB9LHAJyLA5GozbkGY+0h1biOozvdebzpMNseOZHPNBIx0IT7A5FqB9575bWpmubbQe9EWUF+Q5AsOiVz1jq1iE3AiviNY8ICZaVES93p9n6hSEihHyYLpiDdpNF0P18N6xfpLCgGZKZCfBm1oa5zt8CjKrGIE8FzWfss8NoZ8tG1XHzuZeY7tdFiilinO6p7/zVKpRdFGRivM+e2JpQ2M9NjsNXUUdS6HMMtoudFzNLmnX54yoAh58TdFLzzj7hPhxX0WaRWJIPUr6yzaECUhmoBNxJrL9vSbw+brY5w9Cb/nkhvoyh9upjyGbmJzb7AAD+oP/fu6w3AvhZB93VgNiUFxEqp0dMfMomKVzdCKNKc3m4S7/N6jZQAs+AlUKM9KRulk1oFnoHp2cjaWWrBY3Tz9nSNUR4oE5AOj30qYx4vBhMkH3fxkBfYarPpYFR2ROvt/rSVkWI2OM/ebXzCBSnkaX4E++U49vELxGE3+IdAjBaznt/c+4dSdCc4QHFmLd2LHHOQ5xbXeitrASteX2i14d1zzWB82+uKfFwLhBCZXrYs/aaaG1ZPanDsS4IM/Ui04BLQqtOjEtK4X2uTxGaU1nA09R7FJbhBQreXBYpaCnPY9gQm8o/TQNU2bjWUPsQgfZi0ZnBsoa1Y8eF/3Iccc= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR04MB4688.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(66946007)(6506007)(83380400001)(66556008)(52116002)(38350700002)(44832011)(4326008)(110136005)(1076003)(508600001)(8676002)(86362001)(6486002)(966005)(186003)(2616005)(6666004)(66476007)(38100700002)(2906002)(8936002)(7416002)(54906003)(26005)(921005)(6512007)(316002)(5660300002)(36756003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?4aXrkl3g56HuYnHiYYDR0AWzwa56UL3+NVnDaHM/Wuw+aN3sKFrffQ2oFOdr?= =?us-ascii?Q?F2Bmesdx61UFnd741Z4k0onGZJ2LTCqJvHdNn5xPtsh6B0YfNa/4fGQdAslf?= =?us-ascii?Q?pivkLsoozWok2UuyiTI8/JC6hgkDxbq6jyRFsMoxa2NUMlddkOhV6v5Tvksn?= =?us-ascii?Q?yA1AzS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Qs5ziuUvZkhDt3q?= =?us-ascii?Q?h2pZQ2gEgBA1VlSaInkWX+LJxiN3EzGwkC5mhwjL9toyMnQGiwFIgkJmdff8?= =?us-ascii?Q?cyGxKoEIE07Zs5SVhcBFv5XRu83yekyt1504Pjr0UPBU9YhYpSuosHZhk6+C?= =?us-ascii?Q?k1aKyhFLVZUzRtM2l28gJ8DJkjowgPDCLH4NBEynzYdh0DzR2Hp700kzMr6s?= =?us-ascii?Q?iUJ1K1U/EEVvy6H/63B7A5xKyt1bZ3vmzVu7c7ywGxo1kbXDc9lryMDtz/vK?= =?us-ascii?Q?p8VAXXfABkatHkvV5kDt7wO8yAmyoR2T9DMUYOwysnNO2E6YUu4SkBw0PEoH?= =?us-ascii?Q?ZcJ3QUNOOe/T3dutz7cFDDoyszCYGKv6LJ92R9l0YI82qPYt12Khl/ER4Q4Q?= =?us-ascii?Q?knJTo5EQuol9/ZILtJvnmhYioHPC9t0EIrgU3lIv1MbMwj5AW+IWHMkSSkWD?= =?us-ascii?Q?epHzaq3uXVRN2U6EWWw76fb86I0srhzXlsOY0Lati3stvGlotfM0EJ4blemw?= =?us-ascii?Q?slWuMr1R6C7Oi95pY7s9VBoSj073Ia5avLUxx50kfNdpJBrZWeTY4cVaPUbP?= =?us-ascii?Q?Po/JpmoRRJnyYqeQGcg57RXAnbEr39ptGJOF+lvD5KSuag+dIcKRXmCTC4vN?= =?us-ascii?Q?6kdjGDFvaLtA/Jzl/xvp7AqeaU8HL64vaYgNQStUlQjaQmBt8B5+LX3GNvWz?= =?us-ascii?Q?j6Bwms4qZw=3D=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c8f651de-93d1-401a-3300-08da496ee49b X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB4688.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jun 2022 16:49:45.8827 (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: WSj3G90PGTzVz/hlhxwDqjoC47WDRzEj1+ahgT5r/MJMOnjSwQfdMsXUjuND7jc4dUcTxuD0fmAGzn+ngkxszw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR04MB7431 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- .../bindings/clock/fsl,scu-clk.yaml | 52 +++++++++++++++++++ 1 file changed, 52 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..c5902733b7cc --- /dev/null +++ b/Documentation/devicetree/bindings/clock/fsl,scu-clk.yaml @@ -0,0 +1,52 @@ +# 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: + oneOf: + - items: + - enum: + - fsl,imx8dxl-clk + - fsl,imx8qm-clk + - fsl,imx8qxp-clk + - const: fsl,scu-clk + + '#clock-cells': + const: 2 + + clocks: + items: + - description: XTAL 32KHz + - description: XTAL 24MHz + minItems: 1 + + clock-names: + items: + enum: + - xtal_32KHz + - xtal_24Mhz + minItems: 1 + maxItems: 2 + +required: + - compatible + - '#clock-cells' + +additionalProperties: false -- 2.34.3