From mboxrd@z Thu Jan 1 00:00:00 1970 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 3D331C433F5 for ; Thu, 25 Nov 2021 21:18:52 +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=hpBI+lMT2cQkpxGiVlWo+xD1wNUtYkLV7mi7OxNHn7s=; b=gKvE+e1Hu4RMxr 7CwETCgwOjqgdeiL9xcGd1PZCzYB2k+AIX4/Ai/T/Z/cVudL3WwhAG704J1lO3McueusrbnT228C1 6OEqqagJ9MgTpK6fFG7e6galOMJu2ZrjuX0hJAfc1uMaPNQy1umBhvLGKZacqfeSo/vwBptfj60wH cAB2k8vxoa95kBNOJn22gZy7KouHpQPXSDtydhKWLebOJ1odM1EvQ1axP5c1T3KjvYlw4ZE1lFgjb L04QnrNYkF333NqCp6xAa6u8+HhGQNmLA4s4rfxxesqOkKcvhu9FbHhBwUXPcS8bMVf00LgpgHeYW Ar14GAwalM3NN5U1Ydug==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mqM6m-008fnD-7N; Thu, 25 Nov 2021 21:16:44 +0000 Received: from mail-qt1-x82b.google.com ([2607:f8b0:4864:20::82b]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mqM54-008fIM-6K for linux-arm-kernel@lists.infradead.org; Thu, 25 Nov 2021 21:15:00 +0000 Received: by mail-qt1-x82b.google.com with SMTP id f20so7237114qtb.4 for ; Thu, 25 Nov 2021 13:14:57 -0800 (PST) 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=shY4K6DMiasewXh6nPnHULhX8SHX+OpI+nOPrrUtKu8=; b=lgBwL8Wy8XRkgIORpbgabdSpoqqCsFDlYlzUN0b6eGNB+zPm9eGmQrscJ036fQueZ7 QNtXkJz6MCAuTpgJpBzDoPHXxZbuTdrolMAAdgZgZkCWNk+lvz2jpi0+pzVspIvTUNGz RHpZR+gkWjYhLqbK8aLfywHY5SCLDH8FvtqGi5j/IsQHpkObmRPb5gW9RDpyprts/rrS RZiv2byH+XT1aWLlDPfhQF01+S3fbckWoBR46aSdkmxMc5ZzcvB0rZ01TFx9kczctGfU rLZkoCkRv0uP8D1ORFkSqt3SiDX+ZSGsglmROtJkZQ3R9LWNj1TfY+kQm/M3inWNFndg MVJg== 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=shY4K6DMiasewXh6nPnHULhX8SHX+OpI+nOPrrUtKu8=; b=GCZliMrhCzaa9UYnUEWy3uYT1yToX45xG7czZw4HtZi0DuZceWnmFb+L46wS8SK4SR eNxEz8pHZnyHFAePURPNOEbLj17nIejaINaZNqb3fW5ID4qsMQ0Em0/lNKZEZIldlkz3 VU4mS4Q+P4+7XUpWy0D2pfUXVajSGgFoALQtvGWr4j3yHvti1IHyvEvuE1LS6XxslIep PnHvkWuTob1xFT/su39pb7xCGnsliHQiD0zGATwHeskvUNABgw3xtcefAw3LIsoLYpNZ z1Oy9/tq3OWJuwvF3oBNc20rSm8VzbRpkcs/GQenIYhKlOS1ZDejmng7fBFF9G+qnzn5 OM1g== X-Gm-Message-State: AOAM533j8jBozGFyHVb3C4+cWpiibUu4Gswd6WlXAiVv7OQqNquy8ID3 Fykt5sgeeM6qSzROl7yXCjU= X-Google-Smtp-Source: ABdhPJxaqvi0zIXHzlqvtSZaqXxe8ThgQa5y7+xGgMqOyKNQBi3wXRJUUhq5mqDV+95zQOXYTZprJw== X-Received: by 2002:ac8:588c:: with SMTP id t12mr20658010qta.325.1637874896807; Thu, 25 Nov 2021 13:14:56 -0800 (PST) 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 j22sm2068175qko.68.2021.11.25.13.14.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Nov 2021 13:14:56 -0800 (PST) From: Jesse Taube X-Google-Original-From: Jesse Taube To: linux-imx@nxp.com Cc: mturquette@baylibre.com, sboyd@kernel.org, robh+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, ulf.hansson@linaro.org, aisheng.dong@nxp.com, stefan@agner.ch, linus.walleij@linaro.org, gregkh@linuxfoundation.org, arnd@arndb.de, olof@lixom.net, soc@kernel.org, linux@armlinux.org.uk, abel.vesa@nxp.com, adrian.hunter@intel.com, jirislaby@kernel.org, giulio.benetti@benettiengineering.com, nobuhiro1.iwamatsu@toshiba.co.jp, Mr.Bossman075@gmail.com, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, linux-gpio@vger.kernel.org, linux-serial@vger.kernel.org, Jesse Taube Subject: [PATCH v3 06/13] dt-bindings: clock: imx: Add documentation for i.MXRT clock Date: Thu, 25 Nov 2021 16:14:36 -0500 Message-Id: <20211125211443.1150135-7-Mr.Bossman075@gmail.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20211125211443.1150135-1-Mr.Bossman075@gmail.com> References: <20211125211443.1150135-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-20211125_131458_270995_26F15522 X-CRM114-Status: GOOD ( 14.94 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Jesse Taube Add DT binding documentation for i.MXRT clock driver. Cc: Giulio Benetti Signed-off-by: Jesse Taube --- V1->V2: * Replace macros with values V2->V3: * Remove anatop * Use lpuart not gpt * include imxrt1050-clock.h * 2 space tabs to 4 * Remove oneOf enum * Change maxItems to 2 --- .../bindings/clock/imxrt-clock.yaml | 67 +++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/imxrt-clock.yaml diff --git a/Documentation/devicetree/bindings/clock/imxrt-clock.yaml b/Documentation/devicetree/bindings/clock/imxrt-clock.yaml new file mode 100644 index 000000000000..8af48c59ff99 --- /dev/null +++ b/Documentation/devicetree/bindings/clock/imxrt-clock.yaml @@ -0,0 +1,67 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/imxrt-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,imxrt1050-ccm + + reg: + maxItems: 1 + + interrupts: + maxItems: 2 + + clocks: + minItems: 1 + + clock-names: + minItems: 1 + + '#clock-cells': + const: 1 + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + - '#clock-cells' + +additionalProperties: false + +examples: + - | + #include + + ccm@400fc000 { + compatible = "fsl,imxrt1050-ccm"; + reg = <0x400fc000 0x4000>; + interrupts = <95>, <96>; + clocks = <&osc>; + clock-names = "osc"; + #clock-cells = <1>; + }; + + + lpuart1: serial@40184000 { + compatible = "fsl,imxrt1050-lpuart"; + reg = <0x40184000 0x4000>; + interrupts = <20>; + clocks = <&clks IMXRT1050_CLK_LPUART1>; + clock-names = "ipg"; + }; -- 2.34.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel