From patchwork Wed Jun 21 09:32:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oleksij Rempel X-Patchwork-Id: 110935 Return-Path: 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 + 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 ); 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 ; 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 ) 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 ) 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 ) id 1qBuCk-000KLT-Ru; Wed, 21 Jun 2023 11:32:46 +0200 From: Oleksij Rempel To: Abel Vesa , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Herbert Xu , "David S. Miller" , Dmitry Torokhov , Ulf Hansson Cc: Oleksij Rempel , kernel@pengutronix.de, Peng Fan , Fabio Estevam , NXP Linux Team , Daniel Lezcano , Thomas Gleixner , Michael Trimarchi , Mark Brown , Dario Binacchi , Marek Vasut , 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 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: 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?= 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 Acked-by: Conor Dooley Reviewed-by: Abel Vesa --- 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 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