Message ID | 20230621093245.78130-5-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 k13csp4251256vqr; Wed, 21 Jun 2023 03:11:26 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4SdW2Hj9HIGNl0XG3Gdy7H8bt6z1J+8U9yJXnI2pE9TR5DxNTCVc+j8YVzeV7Lq1jjlcgL X-Received: by 2002:a05:6a00:b48:b0:668:921f:15b6 with SMTP id p8-20020a056a000b4800b00668921f15b6mr6371278pfo.6.1687342286034; Wed, 21 Jun 2023 03:11:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687342286; cv=none; d=google.com; s=arc-20160816; b=iOfrhZXYghTxR/0axIq5aOeiGzIvWTYs0Z+nG5+w4fRA8OGm6/wC+rXIuiDOA/KgDN 6vmW14mtuIw4bHlVs0SAPnLL79W4IzhdTBK6z5lAxE/bNfNRR3BP3gRC5efO/ABGJ4Ee nrqsbi1UcYmUp4bnT1b+oSpSiRSzF+8p9CxO/WCYJNvYLZeuTpWludVwWOQB3VvaAfht WR00lcIbRkU3hTBUVemEbza01c/NJeRtbTAzhXRriR5Curu6NANiA1Pml3+gq+Zem1Ir H0OfJSFtXm4g8su41TJF436K496meca5qllKWIenDWCZk8xjgWv5Znw5/QssRzv37+2G Az0A== 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=JmJ+wQrwctzNQpibVGHFtdJqDSasNg0Zx1ufNE10Tnw=; b=RK4omSQI9fN0fLJtNFb8hvbWM9Fb1o6U6YgUHQGPXYHwyO0LWeN2obdRbjy63oUIs8 TQ0d5BtLw+dtffWVXY/xAvXWr7ghq7Hv0UQrKItbyxVwVVQ0LwrMRua0MJhn9sCXmWJ2 oyje8uKXM1xEmiq6YRWcusBpLK2yMtKwENZ+xxEKLZVAqKd+3JGvZE4UOsqmJghOUTv8 iCI4qGwaBluvHt/xrq/bIf+8XPXkL7x3IYcLoBsMC1fO3dsfvz1R3wJYV9YPKgSffLaR BdAtlkPuCH1CVp+prAvIITW1OHRt7bvDf+RX5hZLILQuOb7P4cbbCpNZfQMLU5m49XYM kf3A== 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 o24-20020aa79798000000b0066883879b57si3750999pfp.51.2023.06.21.03.11.10; Wed, 21 Jun 2023 03:11:26 -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 S232046AbjFUJhu (ORCPT <rfc822;maxin.john@gmail.com> + 99 others); Wed, 21 Jun 2023 05:37:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38800 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232016AbjFUJhN (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 21 Jun 2023 05:37:13 -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 B390230E1 for <linux-kernel@vger.kernel.org>; Wed, 21 Jun 2023 02:35:44 -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 1qBuCp-0006Qe-Sn; Wed, 21 Jun 2023 11:32:51 +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 1qBuCm-00906Z-0G; Wed, 21 Jun 2023 11:32:48 +0200 Received: from ore by dude04.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from <ore@pengutronix.de>) id 1qBuCk-000KLT-Ru; Wed, 21 Jun 2023 11:32:46 +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>, 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 v2 4/5] dt-bindings: clock: imx6ul: Support optional enet*_ref_pad clocks Date: Wed, 21 Jun 2023 11:32:44 +0200 Message-Id: <20230621093245.78130-5-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230621093245.78130-1-o.rempel@pengutronix.de> References: <20230621093245.78130-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?1769306625075032937?= X-GMAIL-MSGID: =?utf-8?q?1769306625075032937?= |
Series |
Add support for various features to i.MX6 bindings
|
|
Commit Message
Oleksij Rempel
June 21, 2023, 9:32 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
imx6ul-prti6g.dtb: clock-controller@20c4000: clock-names: ['ckil', 'osc', 'ipp_di0', 'ipp_di1', 'enet1_ref_pad'] is too long
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
Documentation/devicetree/bindings/clock/imx6ul-clock.yaml | 6 ++++++
1 file changed, 6 insertions(+)
Comments
On Wed, Jun 21, 2023 at 11:32:44AM +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 > imx6ul-prti6g.dtb: clock-controller@20c4000: clock-names: ['ckil', 'osc', 'ipp_di0', 'ipp_di1', 'enet1_ref_pad'] is too long > > 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 be54d4df5afa2..3b71ebc100bf6 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 ^ Is the l intentional? Otherwise, Acked-by: Conor Dooley <conor.dooley@microchip.com> Cheers, Conor. > > clock-names: > + minItems: 4 > items: > - const: ckil > - const: osc > - const: ipp_di0 > - const: ipp_di1 > + - pattern: '^enet[12]_ref_pad$' > + - pattern: '^enet[12]_ref_pad$' > > required: > - compatible > -- > 2.39.2 >
On 23-06-21 11:32:44, 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 > imx6ul-prti6g.dtb: clock-controller@20c4000: clock-names: ['ckil', 'osc', 'ipp_di0', 'ipp_di1', 'enet1_ref_pad'] is too long > > 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 be54d4df5afa2..3b71ebc100bf6 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 s/lenet1_ref_pad/enet1_ref_pad/g with that: Reviewed-by: Abel Vesa <abel.vesa@linaro.org> > > clock-names: > + minItems: 4 > items: > - const: ckil > - const: osc > - const: ipp_di0 > - const: ipp_di1 > + - pattern: '^enet[12]_ref_pad$' > + - pattern: '^enet[12]_ref_pad$' > > required: > - compatible > -- > 2.39.2 >
diff --git a/Documentation/devicetree/bindings/clock/imx6ul-clock.yaml b/Documentation/devicetree/bindings/clock/imx6ul-clock.yaml index be54d4df5afa2..3b71ebc100bf6 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 + - pattern: '^enet[12]_ref_pad$' + - pattern: '^enet[12]_ref_pad$' required: - compatible