From patchwork Sat Mar 26 14:43:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jesse Taube X-Patchwork-Id: 12792380 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 54550C433F5 for ; Sat, 26 Mar 2022 14:45:36 +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=R3eHZFEorMauzgbAHFH4+SPqt4O3xxJCs6HQzjsFO3c=; b=qRYTcR0d03oV9j vwnOnp53Q0RMTultdkQs9BVSJjf+SOOYlBcVRsto4NXxY3GyxDampm9sl6O2wqjnbrakzdj74Qxe8 m0z6kBwoCa4HaISSnzcnE27QmJbPt/VkGb0lI5cl+9MZIjDn+1ZQlbb00anYmCXtVb+LcOWDbgrRc BFeEE6WTYDPXUQ/pY7vu0M5+JvZYeZMTJjw06h9m22s4DNJ0O4A6VlPjZyv/l0HBQHMcCGOgK3d7c o8/Vrbud7K6fwgsN+rqnfxm9F8SiNfpr89sDquoclDsRrui12frWUfMv1DVhRZRrtoqpYvl5b+c3D DmRNoS/EOCvpQhNriizw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nY7eH-004P19-6Z; Sat, 26 Mar 2022 14:44:13 +0000 Received: from mail-qt1-x829.google.com ([2607:f8b0:4864:20::829]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nY7dc-004OnS-3i for linux-arm-kernel@lists.infradead.org; Sat, 26 Mar 2022 14:43:33 +0000 Received: by mail-qt1-x829.google.com with SMTP id 10so8792484qtz.11 for ; Sat, 26 Mar 2022 07:43:31 -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=rmLBkFtOQNYFsQqgaT0OsU4d7HAXSeRK+3UTbj0UQ+g=; b=Vk0RY86Uw20Ui/DYS1CJQYujvCA8Y3/bjHpbp//pLk8hGomVqjmTPPMug55BGSY4tq 3mDFZinOfIiDL7C/volTzcPUoUZovWkUa3rE6vbq3YcMRKu6HLCKYbkNw6ekWKKp8TM9 DvKOG3hwvEu1IwkdzVDXRCAMp9d4Vx94ojsEpslTR3/EvAc8oPA+mBTSSI79uO+onx70 89Yo4noFGXgtJJBGb0uoe3fwpfFf+wZI/LaVYX2/z6JlC+WNMaAIIs4SKggrZWnmOoyv Xr/BbEdu50QojuJEhShUNYS2OLyxajM3qwq1tSHAIULD2tC7eXVYpqLW7h7jUaLJc5+X JpkQ== 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=rmLBkFtOQNYFsQqgaT0OsU4d7HAXSeRK+3UTbj0UQ+g=; b=BfHaohwaqlJ5gpeM/cxGNayuEvMGdmi1KwDklwc+kN4NFLqXZUPANQCyKj6gxoFO6I M/Ju6wugzJBJdj7Yepe0jNKzvNydGz3ZjyR20ncUxq5I+cDFqExlBkxdKwzIj+Y6yTiT p/gBkmhjF8FMPaF7AeJHU6/xcbwFoNl59P/LvQ8fS9WsKf4fJaBU6CjOZeqI5HBkOafZ Fd8pgQ0edk0qwpi3ZCXCdGULWltIFFJkJ39jn4vwitH2ubTdNBrKXIj87kDYxW1Erja4 zXUQcPguJZ6iV8+i4OUDQrZ+h0wyIxYz9qZxww7lhgBzAPhYEuPfJrTXREfUmX0yvYqD YrqQ== X-Gm-Message-State: AOAM532eJ3d9zg3qQEm87k5vz/R7JovBFAMSALnHDNSUywq3gM5tquev FVLbpC0cPrc2gYdGG5vG5Kw= X-Google-Smtp-Source: ABdhPJxTo5Qjtqd7mtZlFM47w+EbLUr32pGi96O0b53IGfCfHhBIsqe8H1D2Xa2xX6I1wwfQiMh2Qw== X-Received: by 2002:a05:622a:58e:b0:2e1:cdf1:d428 with SMTP id c14-20020a05622a058e00b002e1cdf1d428mr13820115qtb.254.1648305811084; Sat, 26 Mar 2022 07:43:31 -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 70-20020a370649000000b0067b4cd8ffbasm4908918qkg.60.2022.03.26.07.43.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Mar 2022 07:43:29 -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 v1 04/12] dt-bindings: clock: imx: Add documentation for i.MXRT1170 clock Date: Sat, 26 Mar 2022 10:43:05 -0400 Message-Id: <20220326144313.673549-5-Mr.Bossman075@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220326144313.673549-1-Mr.Bossman075@gmail.com> References: <20220326144313.673549-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-20220326_074332_185071_52BE8512 X-CRM114-Status: GOOD ( 13.23 ) 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 --- .../bindings/clock/imxrt1170-clock.yaml | 59 +++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/imxrt1170-clock.yaml diff --git a/Documentation/devicetree/bindings/clock/imxrt1170-clock.yaml b/Documentation/devicetree/bindings/clock/imxrt1170-clock.yaml new file mode 100644 index 000000000000..ca0f9ba8b3da --- /dev/null +++ b/Documentation/devicetree/bindings/clock/imxrt1170-clock.yaml @@ -0,0 +1,59 @@ +# 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: Clock bindings for Freescale i.MXRT + +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: + - | + #include + + clks: clock-controller@40cc0000 { + compatible = "fsl,imxrt1170-ccm"; + reg = <0x40cc0000 0x4000>; + clocks = <&osc>, <&rcosc16M>, <&osc32k>; + clock-names = "osc", "rcosc16M", "osc32k"; + #clock-cells = <1>; + };