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 AFA84C433EF for ; Thu, 16 Dec 2021 15:59:32 +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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=SFTtqDyvRH0lIuRr8RIQK1z5TfdEiBsHMPfLUtSAy5Y=; b=huu6frqXpIBIj0 D9S6Jil9MQifKZ14VD61NWNJW5TcxLYGEQR6wHb0VYuCqnsWOKEDN0z1YY4clQPLHb6nDxo+QMjsO Agx95Wfr2EDNEryDSP/QsRAuWKuN5ze57g8DyjyJRVefBWndj+w2PZMKzqaXKxRdMiBV1yXa8YFJh Zn1Jhd/gVeknFLO4sDt3u+YZzUK+/1+dR8BgHOnL0FbgaWmKcITVE/zeNQSZ6cmZfrFUF3G7OFDEV vuWFxec7ZrTQErfI0H8gwDNa6vA+PY2vi3jliPUkP1fflEjnyJ73COLDkMTUTk044+JA+nIrMXzNV dE5W6iFNBMXEA6vVey1Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mxt92-006R29-I3; Thu, 16 Dec 2021 15:58:12 +0000 Received: from mail-oi1-f175.google.com ([209.85.167.175]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mxt8y-006R0v-Gg for linux-arm-kernel@lists.infradead.org; Thu, 16 Dec 2021 15:58:10 +0000 Received: by mail-oi1-f175.google.com with SMTP id u74so37015234oie.8 for ; Thu, 16 Dec 2021 07:58:08 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=+fzbfD0CHCHcZI8DY35QBo25aGSKtXHSKqSLSMk0x8w=; b=1dA6lKq0CCD/vxayMZmKQ8dqBGJ85p3dUsgFdBZpRK79teoFVrvCVLqMrKvhRY4xv/ Be89xOP5D0Q/cKGf5LRi4uao7okfilLMSKIK2cP75uMVxyVP940Xuk1Md0yxPT6iwVh+ HjrUtnniim72/r2+0aC8W99QapHARrDRjaaQ5zgP0agxdl200TUVnn8lb+lfr5w14Mqb 3vjWGUEdpvJok+vV2a8abxZGLbkLjkC2072rrnXw0W2YId1Kj4IOIMfo9F2U/Iuny6V5 1HRKs6ci4l6YBZB8qjC1Lx+zU7szyhXDuGT6oLHs/TUkYYvd3MlQgUFnNo02zx07lnr3 2gyg== X-Gm-Message-State: AOAM533gamLwiZxGKN07A/mChyUx2LzmSvOWcNfgfQXv5KKLm1ohIVIG KsboMvhbr49igquiy3ODAQ== X-Google-Smtp-Source: ABdhPJwR/W9c0idlUUFwTUnVK1aHR+vR6mP87PEAo+XWvtX5jqFfuKZ69KQePrNkBHEO052l92GdjA== X-Received: by 2002:a05:6808:15a:: with SMTP id h26mr4515968oie.123.1639670287583; Thu, 16 Dec 2021 07:58:07 -0800 (PST) Received: from robh.at.kernel.org (66-90-148-213.dyn.grandenetworks.net. [66.90.148.213]) by smtp.gmail.com with ESMTPSA id e14sm1027527oie.7.2021.12.16.07.58.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Dec 2021 07:58:06 -0800 (PST) Received: (nullmailer pid 293314 invoked by uid 1000); Thu, 16 Dec 2021 15:58:05 -0000 Date: Thu, 16 Dec 2021 09:58:05 -0600 From: Rob Herring To: Jesse Taube Cc: linux-imx@nxp.com, mturquette@baylibre.com, sboyd@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, 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 Subject: Re: [PATCH v5 4/9] dt-bindings: clock: imx: Add documentation for i.MXRT1050 clock Message-ID: References: <20211215220538.4180616-1-Mr.Bossman075@gmail.com> <20211215220538.4180616-5-Mr.Bossman075@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20211215220538.4180616-5-Mr.Bossman075@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211216_075808_581305_4BE8EECD X-CRM114-Status: GOOD ( 20.04 ) 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 On Wed, Dec 15, 2021 at 05:05:33PM -0500, Jesse Taube wrote: > From: Jesse Taube > > Add DT binding documentation for i.MXRT1050 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 > V3->V4: > * Nothing done > V4->V5: > * Remove extra newline > * Rename ccm to clock-controller > * Change minItems to const > * Change minItems to description > * Rename file to add 1050 > * Change commit description to just 1050 > --- > .../bindings/clock/imxrt1050-clock.yaml | 66 +++++++++++++++++++ > 1 file changed, 66 insertions(+) > create mode 100644 Documentation/devicetree/bindings/clock/imxrt1050-clock.yaml > > diff --git a/Documentation/devicetree/bindings/clock/imxrt1050-clock.yaml b/Documentation/devicetree/bindings/clock/imxrt1050-clock.yaml > new file mode 100644 > index 000000000000..8caf0572733b > --- /dev/null > +++ b/Documentation/devicetree/bindings/clock/imxrt1050-clock.yaml > @@ -0,0 +1,66 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/clock/imxrt1050-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: > + description: 24m osc maxItems: 1 With that, Reviewed-by: Rob Herring > + > + clock-names: > + const: osc > + > + '#clock-cells': > + const: 1 > + > +required: > + - compatible > + - reg > + - interrupts > + - clocks > + - clock-names > + - '#clock-cells' > + > +additionalProperties: false > + > +examples: > + - | > + #include > + > + clks: clock-controller@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.1 > > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel