Message ID | 20230601101451.357662-6-o.rempel@pengutronix.de |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp201134vqr; Thu, 1 Jun 2023 03:32:07 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7JaK7mU+e4Gn039uPuT86TwQLZgR6elVW93Ju409p7qwy5hGtVP6EBdSmwZIfwGnvwiSC5 X-Received: by 2002:a05:6358:7208:b0:125:83c8:72f6 with SMTP id h8-20020a056358720800b0012583c872f6mr7145468rwa.0.1685615526784; Thu, 01 Jun 2023 03:32:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685615526; cv=none; d=google.com; s=arc-20160816; b=YtvLZItBtT+SDVtUy+vkn6JCqLDXWHSOgSPlbfJYu+Y8New6HKQAKS/mv32ze6E5G7 wqrgIY8B1t6JTYyd4P9tsKjfeTXArI2bRLS+QInpUUSTd9ham+EJgTz6OHfENyx1NJd+ 7AhdZqFHSzX6kiSv0tDdRLK7Z4+GsxnAaDi+L8Se5Lb+5bZnyqYmep58YeyNHPt9P8Dg tA4pPNxnAYxWX85+PR9cuA/qrySIC5is3fBMw45JWHa+jRPPvvKixAijPi22tl/3vWR5 PbS16b48Xk9MsPkK1e90BdfBXM32BOExmlojqgOAprJKmObkpppdcVrIVBFrqRydsCyj yXXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=V4DcKfCBjo44hY8QH6tmZW1LJEpP/iiMcGKovBBB8e4=; b=XQKFOakzgCO8h3TNXU7SChsPXhkwgzsQJ45po6OIawgHv9qGCEgL9pISVdSBNlhnvg NS2xjsI+jAMsDq/PjIO8UOHf/Mm+h1HNTgFxOFuu2h5XnmAoQ/iup8ul7i6zfREPQhXk wIzTWO7JBGbjEpR4iN/lC2pAWOI0M/VZdxhMmU2NPfw3tYmSjxWvq5h0/jBNEp+O5nWr 2RUJNcmJ/JYiCJGa1HiIUw7Y98W0xeIe8Pefw9zjL/+OBOhu67v0imncuQCEPtRbtuxv hu7lNOLcmzdfmM6hVu5XlWiWU7Jij3Ye7PYg/NMDQxMFu/ITJP6sdaRmmZNkfl4ZSeU0 oLfg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nk4-20020a17090b194400b002509d96227esi843626pjb.173.2023.06.01.03.31.51; Thu, 01 Jun 2023 03:32:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233472AbjFAKT0 (ORCPT <rfc822;limurcpp@gmail.com> + 99 others); Thu, 1 Jun 2023 06:19:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233468AbjFAKSf (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 1 Jun 2023 06:18:35 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C812B210A for <linux-kernel@vger.kernel.org>; Thu, 1 Jun 2023 03:15:59 -0700 (PDT) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <ore@pengutronix.de>) id 1q4fKZ-0004We-8g; Thu, 01 Jun 2023 12:14:55 +0200 Received: from [2a0a:edc0:0:1101:1d::ac] (helo=dude04.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from <ore@pengutronix.de>) id 1q4fKY-004KWW-JW; Thu, 01 Jun 2023 12:14:54 +0200 Received: from ore by dude04.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from <ore@pengutronix.de>) id 1q4fKW-001V4J-ME; Thu, 01 Jun 2023 12:14:52 +0200 From: Oleksij Rempel <o.rempel@pengutronix.de> To: Abel Vesa <abelvesa@kernel.org>, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@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>, Sascha Hauer <s.hauer@pengutronix.de>, Herbert Xu <herbert@gondor.apana.org.au>, "David S. Miller" <davem@davemloft.net>, Dmitry Torokhov <dmitry.torokhov@gmail.com>, Ulf Hansson <ulf.hansson@linaro.org> Cc: Oleksij Rempel <o.rempel@pengutronix.de>, kernel@pengutronix.de, Peng Fan <peng.fan@nxp.com>, Fabio Estevam <festevam@gmail.com>, NXP Linux Team <linux-imx@nxp.com>, Daniel Lezcano <daniel.lezcano@linaro.org>, Thomas Gleixner <tglx@linutronix.de>, Michael Trimarchi <michael@amarulasolutions.com>, Mark Brown <broonie@kernel.org>, Dario Binacchi <dario.binacchi@amarulasolutions.com>, Anson Huang <Anson.Huang@nxp.com>, Marek Vasut <marex@denx.de>, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, linux-input@vger.kernel.org, linux-mmc@vger.kernel.org Subject: [PATCH v1 5/7] dt-bindings: clock: imx6ul: Support optional enet*_ref_pad clocks Date: Thu, 1 Jun 2023 12:14:49 +0200 Message-Id: <20230601101451.357662-6-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230601101451.357662-1-o.rempel@pengutronix.de> References: <20230601101451.357662-1-o.rempel@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ore@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, 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 lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767495986421473054?= X-GMAIL-MSGID: =?utf-8?q?1767495986421473054?= |
Series |
Add support for various features to i.MX6 bindings
|
|
Commit Message
Oleksij Rempel
June 1, 2023, 10:14 a.m. UTC
Extend the 'clocks' and 'clock-names' properties to support optional
'enet1_ref_pad' and 'enet2_ref_pad' clocks to resolve the following
dtbs_check warning:
imx6ul-prti6g.dtb: clock-controller@20c4000: clocks: [[17], [18], [19],
[20], [21]] is too long
From schema: Documentation/devicetree/bindings/clock/imx6ul-clock.yaml
imx6ul-prti6g.dtb: clock-controller@20c4000: clock-names: ['ckil',
'osc', 'ipp_di0', 'ipp_di1', 'enet1_ref_pad'] is too long
From schema: Documentation/devicetree/bindings/clock/imx6ul-clock.yaml
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
Documentation/devicetree/bindings/clock/imx6ul-clock.yaml | 6 ++++++
1 file changed, 6 insertions(+)
Comments
On Thu, Jun 01, 2023 at 12:14:49PM +0200, Oleksij Rempel wrote: > Extend the 'clocks' and 'clock-names' properties to support optional > 'enet1_ref_pad' and 'enet2_ref_pad' clocks to resolve the following > dtbs_check warning: > imx6ul-prti6g.dtb: clock-controller@20c4000: clocks: [[17], [18], [19], > [20], [21]] is too long > From schema: Documentation/devicetree/bindings/clock/imx6ul-clock.yaml > > imx6ul-prti6g.dtb: clock-controller@20c4000: clock-names: ['ckil', > 'osc', 'ipp_di0', 'ipp_di1', 'enet1_ref_pad'] is too long > From schema: Documentation/devicetree/bindings/clock/imx6ul-clock.yaml > > Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> > --- > Documentation/devicetree/bindings/clock/imx6ul-clock.yaml | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/Documentation/devicetree/bindings/clock/imx6ul-clock.yaml b/Documentation/devicetree/bindings/clock/imx6ul-clock.yaml > index be54d4df5afa..d6a36fe575d3 100644 > --- a/Documentation/devicetree/bindings/clock/imx6ul-clock.yaml > +++ b/Documentation/devicetree/bindings/clock/imx6ul-clock.yaml > @@ -28,18 +28,24 @@ properties: > const: 1 > > clocks: > + minItems: 4 > items: > - description: 32k osc > - description: 24m osc > - description: ipp_di0 clock input > - description: ipp_di1 clock input > + - description: Optional lenet1_ref_pad or enet2_ref_pad clocks > + - description: Optional lenet1_ref_pad or enet2_ref_pad clocks > > clock-names: > + minItems: 4 > items: > - const: ckil > - const: osc > - const: ipp_di0 > - const: ipp_di1 > + - enum: [enet1_ref_pad, enet2_ref_pad] > + - enum: [enet1_ref_pad, enet2_ref_pad] pattern: '^enet[12]_ref_pad$' Rob
diff --git a/Documentation/devicetree/bindings/clock/imx6ul-clock.yaml b/Documentation/devicetree/bindings/clock/imx6ul-clock.yaml index be54d4df5afa..d6a36fe575d3 100644 --- a/Documentation/devicetree/bindings/clock/imx6ul-clock.yaml +++ b/Documentation/devicetree/bindings/clock/imx6ul-clock.yaml @@ -28,18 +28,24 @@ properties: const: 1 clocks: + minItems: 4 items: - description: 32k osc - description: 24m osc - description: ipp_di0 clock input - description: ipp_di1 clock input + - description: Optional lenet1_ref_pad or enet2_ref_pad clocks + - description: Optional lenet1_ref_pad or enet2_ref_pad clocks clock-names: + minItems: 4 items: - const: ckil - const: osc - const: ipp_di0 - const: ipp_di1 + - enum: [enet1_ref_pad, enet2_ref_pad] + - enum: [enet1_ref_pad, enet2_ref_pad] required: - compatible