From patchwork Sun Jun 26 06:45:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jesse Taube X-Patchwork-Id: 12895618 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 ED89EC43334 for ; Sun, 26 Jun 2022 06:48:12 +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=zuHkX6huUiI3pFok0Zdcy0teUB2+xM5rV2z9OSsr2X4=; b=cuVDPn5puuOtNU j0dOD0Um4yxzQTWT/10qZobwg8Atpa+SS+kWIh/JH7gZH+yzd/TEnbvpQ0U941kqxvuf9qCt7Ly34 QutaEjPZWSSQFAhfmAdG8s06zMxDmcDDC9rlsoul44tixC6Crnest51zsPluG/4Ctm1GV1xP0uMP5 vNKPH+KBTgDDbRuajVB+wvWMoW02FaDN+jbGphOk+8GChhSd6sc+AWzWOHPsvaJDbds3EfpDHwy0f pVjaWQwbiqKozj3H2vCxldh0IHSTZbQJqUbN6LcHAnGYN8SLDwsQX2lt7WyGMD0IjMimrYhk08Wme RfS/TdU6zi8UosMwWcvQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o5M35-00A9o4-9g; Sun, 26 Jun 2022 06:47:11 +0000 Received: from mail-qv1-xf2d.google.com ([2607:f8b0:4864:20::f2d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o5M1c-00A928-PA for linux-arm-kernel@lists.infradead.org; Sun, 26 Jun 2022 06:45:42 +0000 Received: by mail-qv1-xf2d.google.com with SMTP id y14so10619906qvs.10 for ; Sat, 25 Jun 2022 23:45:40 -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=DH9TZJfh8HC/nBAniL+53P7EujTly4gU1fuprgwlesA=; b=fG2PsWsmZSbEOhHVcevm4G7WRzBK92EE9yEDp0UEOiq7LvuqC+AB17sqGwy1sN/Sv7 QaCENapjXwO9vAeH9kq1xHw4EDkUJEgoNlD2ufVj10IUrGB1xtSVKljZlC2MkRmIRbp6 GeQ3KqPiAM/SfcnqGHRSkgcX1WldbU/EmObHw6bm4lpKDXLjWA3fXC0qQgj6dl231m61 BIzf3bQV6cIXzey7jmypDMJXg5Rtq6UgFpEnVXlG2GomOIhQG5UV4eKZ/YCrp1Z1WqBu bbLi+HxTHXzPBLZN2J5WXl9PHf2WmfFY+nHFLqbDcrDKkrfqbqO8yc8brzZL688e+xy8 LQkQ== 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=DH9TZJfh8HC/nBAniL+53P7EujTly4gU1fuprgwlesA=; b=ktiSG39ppaSGlrqEvItzDCnCzPUobv3cCMmBpeLPSh8GeJOqDmgJw0Q3eBSIZrIXJJ dGJSqA7dZ7zozjNiQRufX6ZcQIYj8Uu+SRN7nZbTQBK/SsL2PkK3cXeZeO8msuxT2s1D Id+shAsMMC8XvyMxACrOEC5CJS2wc44GcsmsVO9IeZ4pOuRGT04Y+bStDDclnsm84Rj6 yBA6vVD04238L/2vw8xwn3DJ5jODflA4NzKq0PQSUFg9nZNn3GyFBaV09mN9aBiixEL1 nrGULHkYTWLCaOYpQzAES/xANSyk9Xf3K/7ZH0S2jtvcVVr6O3Df/SFh2MGFOYBkkbXA n6IA== X-Gm-Message-State: AJIora/dB7EgnENlt1P6XTKRxzNdSlGqxFxLYwJTHyZJWmmTxlxBKZ8C Pc2bvKVB5snzcc7LgdFDIwU= X-Google-Smtp-Source: AGRyM1tSBgjIOxLj5ecMN0YYD0EU5QftkEzeR5hOoevQZmvzQ8Vl8KiOcqhMdYumEVuRriIjoU4Vpw== X-Received: by 2002:a05:622a:1ba5:b0:317:c65b:3ad1 with SMTP id bp37-20020a05622a1ba500b00317c65b3ad1mr5117051qtb.117.1656225939284; Sat, 25 Jun 2022 23:45:39 -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 w15-20020a05620a424f00b006a76a939dbasm5914620qko.112.2022.06.25.23.45.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Jun 2022 23:45:38 -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, olof@lixom.net, 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 v4 06/13] dt-bindings: clock: imx: Add documentation for i.MXRT1170 clock Date: Sun, 26 Jun 2022 02:45:16 -0400 Message-Id: <20220626064523.3683775-7-Mr.Bossman075@gmail.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220626064523.3683775-1-Mr.Bossman075@gmail.com> References: <20220626064523.3683775-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-20220625_234540_872966_0324717A X-CRM114-Status: GOOD ( 13.96 ) 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 Reviewed-by: Rob Herring --- V1 -> V2: - Change title to Clock Controller - Rename to add fsl V2 -> V3: - Remove unused include causing error V3 -> V4: - Add fsl to schema id --- .../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..cb768b7ae6d4 --- /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/fsl,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>; + };