From patchwork Wed Jun 15 10:58:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viorel Suman X-Patchwork-Id: 582510 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 5F74ACCA482 for ; Wed, 15 Jun 2022 11:02:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1354540AbiFOLCt (ORCPT ); Wed, 15 Jun 2022 07:02:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51748 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348767AbiFOK7Y (ORCPT ); Wed, 15 Jun 2022 06:59:24 -0400 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2076.outbound.protection.outlook.com [40.107.21.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DFE5A51E6C; Wed, 15 Jun 2022 03:59:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RzvF4VPmJePGR1kZPYja+Xb2BKIFBEZfmuEFblZLbugqVS2akHfgBJO0NBJFIsIyFKEud2D1pkRLqTG3hYum86CUqT08xk5XCJPVA65I3esh2NCBdnFNbXWtEOLgPSGQjEX+QzDZTyIWB7ynRk19ukPAVsu9yjvcg9JfV6Zf4iNJ/9maTY6JEk5SgrkBA6RO3FuX5WjY53+MiFP1cpzJDPXa3V1ZOt8vBOz6maJj30yMQu4/UQj3Y4BKqrHB2XRpiPcKJsRYr9V4ODOOxWoMDSfz855TGil9zWAYKjKVHr0gpJsnvq48bwGNbtCgcJzKSPUY9YRVZsgQUiTuFQ4nRA== 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=+EzT+PaHe5icekHLA1ZJgt6MAMIzeFsGgUW+oG7l2+c=; b=PPPlpdHyvWqt+2nYysTWuRX624vkHWniBcs54XV60rpopurpUpfGwggkbW4/gw+k6kxGngoOm70L0wLdCwMMGGDflnN2kKN19O8Mq038j2pk8Igs3CtRTQfetUaNPtsj5rnHfxudPFPS4asPzfSHAiR40RL8okbrl0W1nUcsUNKB4d1fjppMU88nh9EY2bFUUGra7Ax4vxXW937h3NeImYvJHVSR7wNUo1a8J8SbfPtJQbiMtz2BvOApAgX88hJ6LwnB6d8GitiCRE/Cz2p4FqB7u0AzHJQcouoO2qrIYMEgzTU0j3WL0JR1ov9fB6RWTQkVBmYL5sM+MQ3oj3L93w== 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=+EzT+PaHe5icekHLA1ZJgt6MAMIzeFsGgUW+oG7l2+c=; b=Pi5KebAg5qU4Kq2Olq63iB5OVsWdWsOFGuOpXVNj8ldxiqSlCiJcWohB6vyQrR1KEAb2BAaszD/CdjdUgYwfk541o7Y7U6fEsThEQoXJUkvN4hA36xEL0w0PB5EBymZEdudNZ45Y4rCLJjDBQX6i/sWTEy0dp0q2iYTgkqhzS20= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from VI1PR04MB5005.eurprd04.prod.outlook.com (2603:10a6:803:57::30) by AM0PR0402MB3939.eurprd04.prod.outlook.com (2603:10a6:208:11::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5332.23; Wed, 15 Jun 2022 10:59:21 +0000 Received: from VI1PR04MB5005.eurprd04.prod.outlook.com ([fe80::7505:2581:368f:5619]) by VI1PR04MB5005.eurprd04.prod.outlook.com ([fe80::7505:2581:368f:5619%5]) with mapi id 15.20.5332.022; Wed, 15 Jun 2022 10:59:21 +0000 From: Viorel Suman 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 , Mirela Rabulea , Liu Ying , Oliver Graute , Peng Fan , Shijie Qin , 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 Cc: LnxNXP@nxp.com Subject: [PATCH v4 02/14] dt-bindings: clk: imx: Add fsl,scu-clk yaml file Date: Wed, 15 Jun 2022 13:58:22 +0300 Message-Id: <20220615105834.743045-3-viorel.suman@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220615105834.743045-1-viorel.suman@nxp.com> References: <20220615105834.743045-1-viorel.suman@nxp.com> X-ClientProxiedBy: AM0PR02CA0159.eurprd02.prod.outlook.com (2603:10a6:20b:28d::26) To VI1PR04MB5005.eurprd04.prod.outlook.com (2603:10a6:803:57::30) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3ba9d3d9-2473-476c-bf1e-08da4ebe19cc X-MS-TrafficTypeDiagnostic: AM0PR0402MB3939:EE_ X-LD-Processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr 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: UOF6oxMaKvZR+U4F3iPuD6Td5wuOtVQpRHwr8H1k9tIflPBhsQUKA7CjPgerUkh8f0nklTOikdJXT41TJzDn7U6pXl30x4PgsglPdRKRjb4n15Ae8heCklkfdoWOI1II+iaS9Lzc6kIHWT/0W2qkEERpWqpC/0skO/gDBn+124QIOhnssbczYrL6b+zeJvjv3Jdf/kh68VKnAF5meDQt50mnqOY3aza2msdwF6dFwVTEBjQ4N/78B6zpZmASM6bJSPiRWKa2Bu2/WyWsL1HfSlcwOCthU/ruO9+rstoW5tZbfWH7fZUrIHmtma9Dcrv0A2C7mpylcRMdnT6T89iUMn9mvJYY3J8QqfzoIN8D+UnMESK1H+IpA21bAOEUkjdnx2ubImjm6E2x2Ej1F3CNPrXHO7S3ueqUwK/fTR+MZx87Mu4zEwsU+ttlkcIlvWcMUB0rClF7assV320GhQDceOqCdCbdquSLZlt5GH6DWVd3T5beYQb6RViEm0U5j6DCxCdm3Y5dtIEFZ7mUOMEx7JPNEXLOyCDLVGCFyOtD0hnN+ECG5IJJQgDQ6phLpYa6rVy7ThkIhjg+1JveYIqr2gPsIW3jyuuNrHaNjz/lnEbcMhVuAkf41njSeQcAF102jsNVMxXhTXN7xMwJco/7Id3tolOXtsgwBusd1slZ9OPE5ZjF1uaufJIP6EFUMB85UTumal6QA42m4d+cq1ZpKQF7R59E0LGaTvzvUdDA01HggjKtienCBppPHulm05ziVl6jznqvdK+W89xRt8/T4NShLvfVtoJMCAxr2FZ2GLatz+d+H8Uor1mE9b1LKRqgk/lmNfvGVXLl2aQVh0Z/vl8Akyhy+Uq9KvAgC9sGeSk= 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)(366004)(4326008)(66556008)(66476007)(66946007)(8676002)(316002)(1076003)(2616005)(8936002)(26005)(6486002)(38100700002)(966005)(6512007)(508600001)(38350700002)(6506007)(52116002)(86362001)(5660300002)(83380400001)(110136005)(921005)(2906002)(7406005)(7416002)(186003)(44832011)(36756003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?iso-8859-1?q?4jZOs1WAsUkvTGe0Xlo60ia?= =?iso-8859-1?q?v8u6GiisE4ha0Vs0kVTPsIsMsKzgpL1G3GzQvX4pmR/e/JRlGSOaabjgnJZY?= =?iso-8859-1?q?zMV16L/9m+yM1s73oekt1m2kkab1OdZFf5VzPVrNNNP8h5cY0WwrxR4fFJxz?= =?iso-8859-1?q?UgDF5CzXx8FPk3Kb13Iu7C7rdazGtpXNryap8noF5vWcqgrWL6I1tJYU6RPk?= =?iso-8859-1?q?eH5L0iyQL9KYMjq/0oQRMiZb/8U8qUqiB6iDmBStZwBrBD7q53qlkNzzp8Sa?= =?iso-8859-1?q?12FNMZUmcKdMDXPGzYyRFY567PjXkUirxEJfk01KvMCZeGWp/lx5GuUE1YO9?= =?iso-8859-1?q?SMOiY8ZMsrOkTRUyVRdPVPzcU8LpsFsQN3NpXumJ/mTTEOMxr9BEMxpnn4qo?= =?iso-8859-1?q?q495TRm9mzya5gxngXsuOrAlVSyek3RKU1PHM/u2SG9phHqqIvL5elrNNsLd?= =?iso-8859-1?q?q/ZvZVzwfurXD6LMG3ZQQR6xRCEolXRufZ7yu49oZ1EvgM69HXRPmIsYUYM2?= =?iso-8859-1?q?XxNWlRR1zu2H+sshSb31VNcYNqlSHuNIoe4xwQ2RuLtCVmyWWAK7qMjLxYrH?= =?iso-8859-1?q?8YQGkdz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J25oh9hZlKptdloCH6Iv41s?= =?iso-8859-1?q?d5mm+keltZuLBUTWmZMRYyr+n9lvtMfhKr6iZuXuHF49Pjfae0Vg3oBE0ozz?= =?iso-8859-1?q?xtUToCdI+h55qOUI3l+P4dhaqdAggFHu1B5+YFJWZ5s2seGET0smKJtyXIxn?= =?iso-8859-1?q?n5x/61hswwLywkB79VSadhG7uqFIZL1VBt7lMamW1DRg6j9RTZKvf83khmwL?= =?iso-8859-1?q?qWFQgHXymJPXkTkueye227/aAr97WFX98D6zZsBWxM5YK5RmAA8QTSpIvzgI?= =?iso-8859-1?q?CFfrnKB/wporXve9f/CxAMhwg3vFkpSeywfdmHytFYrxkXA=3D=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3ba9d3d9-2473-476c-bf1e-08da4ebe19cc X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5005.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Jun 2022 10:59:21.1354 (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: aHQgNVmeCcVyITpeSEHW3J1UOUKTzZkfOSJ9wY0S5g5FVcWyUFvcn4Sa4Wi+XUkg0KVumpF38sj7RbWerMd0tA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0402MB3939 Precedence: bulk List-ID: X-Mailing-List: linux-pm@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 --- .../bindings/clock/fsl,scu-clk.yaml | 58 +++++++++++++++++++ 1 file changed, 58 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..8b59758eee4a --- /dev/null +++ b/Documentation/devicetree/bindings/clock/fsl,scu-clk.yaml @@ -0,0 +1,58 @@ +# 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 + + 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 + +examples: + - | + clock-controller { + compatible = "fsl,imx8qxp-clk", "fsl,scu-clk"; + #clock-cells = <2>; + };