From patchwork Tue May 17 03:27:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jesse Taube X-Patchwork-Id: 12851849 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 D943CC433FE for ; Tue, 17 May 2022 03:31:34 +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:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=kdsQeUr8O/KxK8I48N/4DJAWJVaRDdKQjHvwLWU3noE=; b=hWMZb7uH0BSbor /FZCXv42yn1eu0dtwMrCC2gQVxoovy6p1AmnxTkjTYwD6/e1bs0iipKccaaF/3K3UyxCjsmtpufZK QqwPk0Depn7o28gtrQeh+K8P8YDaH/YTPN8QlGaihc6rBIAu8ihQHgAQuLxMCFZdQhvjk3U7sD7jf J9b/7UuXzvRpI8xtC+bQuWB/s9vlAWugHDCIuihNJXnioRWemllV5OnuUI71iymjoQLHe9a8b7o4/ gZjCGWZHK0RNgSgGzt3xf37z0yNmwmBnHoHaC1ibIr8BAcr+r7pwsSZ89Lw7Ak+KdokLXEu3ErXSY ckMkYI21nQQMfHShSFDQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nqnuA-00BPPW-Ip; Tue, 17 May 2022 03:29:50 +0000 Received: from mail-qv1-xf32.google.com ([2607:f8b0:4864:20::f32]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nqnsd-00BObm-Hu for linux-arm-kernel@lists.infradead.org; Tue, 17 May 2022 03:28:17 +0000 Received: by mail-qv1-xf32.google.com with SMTP id dm17so4678768qvb.2 for ; Mon, 16 May 2022 20:28:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=j+Q4XN3lDlb3mXxMp+NqQgx5l8SM/aLOCQMLK1x/m6M=; b=ewqvkD2vj/X0E+xs1VnF/6et3X9Oiq1Wu7WdlODik1+AUmKDOS+LFotV4909xHsaV6 HOP80ServOJjox5SaT4+QAjXpxaLQjxjYIFQh0vZwGMgnqXQsyYWqgP+EZlFUYI3xdAG mw4zaRzlBRc18UGL9M/S3RFS9zXbg54qncFiwCP7Y8VOiV/7JTSsfhW7ZPZarYXCQZfW cnxNiolTKtYPJvoDxq4TlC766Ty4BP29tLptrCIydvybpL+GxzSshY1uQ3dXWR8NuHE7 aM5IBN5N9uNqkLfXG6o7bsbK4eRH49p7IE78nulXptaiKPO6KLoGnvOs8G7YGtK/TYXS zQVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=j+Q4XN3lDlb3mXxMp+NqQgx5l8SM/aLOCQMLK1x/m6M=; b=OpUR0FisipJBf/XlZy/+pRnsoV2CiFnrqFTrA756s8O/EDxQQFoRdWSk3adsgI7ODK j6GSdAQfh2zANR4KWLXsy7FPHl7+sXRnwgFUGbbHj6jtgbE+Y9lB8vyNVHL43cCIVgM2 2TbY0yiEN4z1nZjCf2TQ3rm7IrwNxoyEreY91QsjD+eHpF3VSxFnTkWln6Eweilh69mn sTRsL4VLxM9I/oZ5qHJPew2QK8vI4nwApCNhHABr/UGDkX7e+oCq1q8wDDWkjiOYTgiX 5wKROSYTVee+ptsck14SDQrPRlGTdPSZmKFXO6Qe+upeVFPSWJuDji2Xj01B7Yrkq63f Q03g== X-Gm-Message-State: AOAM532SjBvJyeu6FcbMip1ZKgYHS2xSZUEyW5zsr29pO5ElwPDFm5Cm BxH3MGQCk6CUIDvZnMER3Ss= X-Google-Smtp-Source: ABdhPJyDK5rkL8eJXzhnSZxGgf5pHHsEF2OYx4jxV+AQuglwMRJT9dRzyqsdUIp/VAp9he/i6tvV+w== X-Received: by 2002:ad4:574f:0:b0:461:df46:af7b with SMTP id q15-20020ad4574f000000b00461df46af7bmr316768qvx.53.1652758093461; Mon, 16 May 2022 20:28:13 -0700 (PDT) Received: from jesse-desktop.jtp-bos.lab (146-115-144-188.s4282.c3-0.nwt-cbr1.sbo-nwt.ma.cable.rcncustomer.com. [146.115.144.188]) by smtp.gmail.com with ESMTPSA id a19-20020a376613000000b006a098381abcsm7079535qkc.114.2022.05.16.20.28.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 May 2022 20:28:12 -0700 (PDT) From: Jesse Taube X-Google-Original-From: Jesse Taube To: linux-imx@nxp.com Cc: robh+dt@kernel.org, mturquette@baylibre.com, sboyd@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, aisheng.dong@nxp.com, stefan@agner.ch, linus.walleij@linaro.org, daniel.lezcano@linaro.org, tglx@linutronix.de, arnd@arndb.de, olof@lixom.net, soc@kernel.org, linux@armlinux.org.uk, abel.vesa@nxp.com, dev@lynxeye.de, marcel.ziswiler@toradex.com, tharvey@gateworks.com, leoyang.li@nxp.com, sebastian.reichel@collabora.com, cniedermaier@dh-electronics.com, Mr.Bossman075@gmail.com, clin@suse.com, giulio.benetti@benettiengineering.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org Subject: [PATCH v3 07/15] dt-bindings: clock: imx: Add documentation for i.MXRT1170 clock Date: Mon, 16 May 2022 23:27:54 -0400 Message-Id: <20220517032802.451743-6-Mr.Bossman075@gmail.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220517032802.451743-1-Mr.Bossman075@gmail.com> References: <20220517032802.451743-1-Mr.Bossman075@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220516_202815_666173_E0B923DD X-CRM114-Status: GOOD ( 14.70 ) 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 Add DT binding documentation for i.MXRT1170 clock driver. Cc: Giulio Benetti Signed-off-by: Jesse Taube --- V1 -> V2: - Change title to Clock Controller - Rename to add fsl V2 -> V3: - Remove unused include causing error --- .../bindings/clock/fsl,imxrt1170-clock.yaml | 57 +++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/fsl,imxrt1170-clock.yaml diff --git a/Documentation/devicetree/bindings/clock/fsl,imxrt1170-clock.yaml b/Documentation/devicetree/bindings/clock/fsl,imxrt1170-clock.yaml new file mode 100644 index 000000000000..57881e22c400 --- /dev/null +++ b/Documentation/devicetree/bindings/clock/fsl,imxrt1170-clock.yaml @@ -0,0 +1,57 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/imxrt1170-clock.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale i.MXRT1170 Clock Controller + +maintainers: + - Giulio Benetti + - Jesse Taube + +description: | + The clock consumer should specify the desired clock by having the clock + ID in its "clocks" phandle cell. See include/dt-bindings/clock/imxrt*-clock.h + for the full list of i.MXRT clock IDs. + +properties: + compatible: + const: fsl,imxrt1170-ccm + + reg: + maxItems: 1 + + clocks: + items: + - description: 32M ext osc + - description: 16M int rcosc + - description: 32k osc + + clock-names: + items: + - const: osc + - const: rcosc16M + - const: osc32k + + '#clock-cells': + const: 1 + +required: + - compatible + - reg + - clocks + - clock-names + - '#clock-cells' + +additionalProperties: false + +examples: + - | + clks: clock-controller@40cc0000 { + compatible = "fsl,imxrt1170-ccm"; + reg = <0x40cc0000 0x4000>; + clocks = <&osc>, <&rcosc16M>, <&osc32k>; + clock-names = "osc", "rcosc16M", "osc32k"; + #clock-cells = <1>; + };