Message ID | 20231127-b4-dt-bindings-serial-v1-1-422a198fd91a@pengutronix.de |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce62:0:b0:403:3b70:6f57 with SMTP id o2csp3212325vqx; Mon, 27 Nov 2023 07:25:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IEboSqHq0LPvyEeSIauVlsFdZQvIlgJdI+gdqttelvK6DsEvPaRB5LQxnNANs6P3VZ/Vv5U X-Received: by 2002:a17:902:ab1d:b0:1cc:49e7:ee16 with SMTP id ik29-20020a170902ab1d00b001cc49e7ee16mr12339892plb.12.1701098750817; Mon, 27 Nov 2023 07:25:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701098750; cv=none; d=google.com; s=arc-20160816; b=iAOdAbUnnL874KD60L1NzlfYLskHgw0jQL9NLQSq+Lk6hezwslGvrNlTyrv7JMhUst rMXsKkA/FwBQAR8XiH+rJmIchZojcDSIsiyxrU2dJ6A5akTgVsFfmjc2Uoix+WdksGOs p7x6eGtSc+OxzWtsmubxc4lGsoMiP+mVH0FDVcPdpxJtRqzYxHiOjx3qwmjFOKEvFZdY kTEGE+4eIBIdy/oUrLIJ4Jbs7G8kHulCIsEbrS3XWXxLpQ2OjZR869tncM2IUXx0ULTo D1RhmHB30peNuFDypSWSfibWjpkA/rDzVUQM9Fu7LONlNUwFLDXMgjnxLhBvh70l6yx6 Od6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:message-id:content-transfer-encoding :mime-version:subject:date:from; bh=rAFm5K384p2RV/XEtHkarSUxZVsu82uMvcycOglfwME=; fh=1OUG49soi+srU3If+TrAnnn57qgiGKuHVX09FsXkasc=; b=szAgr3f3pojA1eAcE/kh70JmaIvhpVnp44kooKMCsodGrAS5rrl6cX3OvhFtMgLTDK nrsmlVenZJoaaT7p86JH8p5JPXKKSOvKpkpy4k/CLk6lkFcwbw4VH2DPFJYMkChRDq0w dg88clLlgWXe5YsrjlhEx2o+EX+jPwBec2l63JG0j6I34N2EPiYQf0SFqkweQASvFWRC GjfBLGdvI0+lcv6b3U8TUJJAmDvU5pjRvoxuB9BUJd/uqzC0vyd0e5dgbnkFd0TgbtSg CxU390pPN4Lg6kO1vhez/yuVlu0gsCdgvXLS14BThXE4klmid85Ewi1CPcYzEImF6AwI uoaQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id h6-20020a170902ac8600b001cfc3f7392fsi3590363plr.252.2023.11.27.07.25.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 07:25:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 9F5D2805D6E6; Mon, 27 Nov 2023 07:25:19 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233869AbjK0PZK (ORCPT <rfc822;toshivichauhan@gmail.com> + 99 others); Mon, 27 Nov 2023 10:25:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42676 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233863AbjK0PZI (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 27 Nov 2023 10:25:08 -0500 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [IPv6:2a0a:edc0:2:b01:1d::104]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1917DAA for <linux-kernel@vger.kernel.org>; Mon, 27 Nov 2023 07:25:15 -0800 (PST) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <auto@pengutronix.de>) id 1r7dTr-0001YD-Bb; Mon, 27 Nov 2023 16:25:03 +0100 Received: from [2a0a:edc0:0:1101:1d::ac] (helo=dude04.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <auto@pengutronix.de>) id 1r7dTq-00ByRy-2v; Mon, 27 Nov 2023 16:25:02 +0100 Received: from rhi by dude04.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from <auto@pengutronix.de>) id 1r7dTq-00CvQv-05; Mon, 27 Nov 2023 16:25:02 +0100 From: Roland Hieber <rhi@pengutronix.de> Date: Mon, 27 Nov 2023 16:24:44 +0100 Subject: [PATCH] dt-bindings: serial: add assigned-clock-parents and assigned-clocks properties MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20231127-b4-dt-bindings-serial-v1-1-422a198fd91a@pengutronix.de> X-B4-Tracking: v=1; b=H4sIALu0ZGUC/x3N0QrCMAyF4VcZuTawtkrFVxEv0jVugRKlcSKMv bvRy//Ax9nAuAsbXIYNOr/F5KEe4TDAtJDOjFK9IY4xhRAzliPWFxbRKjob/jg1POc0hpo5xRO B20LGWDrptLjWtTUfn53v8vmfXW/7/gWZ3xm3fAAAAA== To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Jiri Slaby <jirislaby@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Shawn Guo <shawnguo@kernel.org>, Pengutronix Kernel Team <kernel@pengutronix.de>, Fabio Estevam <festevam@gmail.com>, NXP Linux Team <linux-imx@nxp.com> Cc: linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Philipp Zabel <p.zabel@pengutronix.de>, Roland Hieber <rhi@pengutronix.de> X-Mailer: b4 0.12.0 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: auto@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Mon, 27 Nov 2023 07:25:19 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783731323865712131 X-GMAIL-MSGID: 1783731323865712131 |
Series |
dt-bindings: serial: add assigned-clock-parents and assigned-clocks properties
|
|
Commit Message
Roland Hieber
Nov. 27, 2023, 3:24 p.m. UTC
From: Philipp Zabel <p.zabel@pengutronix.de> Add the "assigned-clock-parents" and "assigned-clocks" properties used by board device trees to set the UART root clock source. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Roland Hieber <rhi@pengutronix.de> --- Documentation/devicetree/bindings/serial/fsl-imx-uart.yaml | 6 ++++++ 1 file changed, 6 insertions(+) --- base-commit: 2cc14f52aeb78ce3f29677c2de1f06c0e91471ab change-id: 20231127-b4-dt-bindings-serial-87301d7e325a Best regards,
Comments
On 27/11/2023 16:24, Roland Hieber wrote: > From: Philipp Zabel <p.zabel@pengutronix.de> > > Add the "assigned-clock-parents" and "assigned-clocks" properties used > by board device trees to set the UART root clock source. > Why? Commit msg should explain it, especially if this is not obvious (and it is not obvious because you do not need these in the bindings) Best regards, Krzysztof
diff --git a/Documentation/devicetree/bindings/serial/fsl-imx-uart.yaml b/Documentation/devicetree/bindings/serial/fsl-imx-uart.yaml index 83035553044a..41bf8264488d 100644 --- a/Documentation/devicetree/bindings/serial/fsl-imx-uart.yaml +++ b/Documentation/devicetree/bindings/serial/fsl-imx-uart.yaml @@ -103,6 +103,12 @@ properties: are sensible for most use cases. If you need low latency processing on slow connections this needs to be configured appropriately. + assigned-clock-parents: + maxItems: 1 + + assigned-clocks: + maxItems: 1 + required: - compatible - reg