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 6E0E2C77B7A for ; Thu, 1 Jun 2023 18:23:07 +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-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-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=YEOKI6bMN2MJcTFuIw9t5pO8AFQd6dEezhVcxhPBzjs=; b=4uMl5upepX/4DE+UGEOCC/1xpS GvoZ0Oet7sQ7trjfVSGiI+BqzMY38zCJHcA4CnO2H+7Pf3IwW9HYP0WdAu5ZwAHcHrw6IwetbVy5o ad2IWi1ebUaYWua/uPEefjFMiDNIeV7GukxKwepOOdcz/xVHCF3qW4qSxt83NlijoiAVLWrGtFNIE jLMvJOdzx419XZUGKpXKCH24/7SA7v5zHIPPTcDrk338lCnIpHUeTgKywQ8QTRasDxhWtqQqEIwBu /w7uC7FsnS5qVHFeW6gtqgesoR8ORiaGUxgHtTJ3SiYpxcjfLgmJN4aX7ileZwyjGpaxVNwNLTjql yNe22GCA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q4mwX-004ZdE-1Y; Thu, 01 Jun 2023 18:22:37 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q4mwU-004ZcK-23 for linux-arm-kernel@lists.infradead.org; Thu, 01 Jun 2023 18:22:35 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 2DF26615AA; Thu, 1 Jun 2023 18:22:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D0E01C433D2; Thu, 1 Jun 2023 18:22:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1685643753; bh=w4NuGuxH0hV5RX32sGnngGHbSyJb+f8LzmAmm52CRdA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CTcGKa/rfL64j4NSRql0AX3AGqFXe9mynWzyCWQvsUr2bO3GRrPccojwXNFcYF8CZ 4pDsvkbeKAZBMLxhNuNEuvvB/fSWIxdsuWq5JmfmiBfQOe891U+tEED6oTP0nRcwqe QQ4OBslEjanrWKMyIql4As4CBcElG4d2I2r6Ow1MbT4nkKmswtQhrKAwDGQrn9WA3p QIq6rrGHvm9FJWJH0LJ8x7JLqhijPQENXbdzUidZJbbDJit34Mlx+BXaEOFTOoBnaA 023xKLjKT5jU5UBugPxva9GCXX8pWKQrEyQLVCxHnOJ5j6rGnX08J5oAdndOliCG65 JPtNkeHErT5Bg== Date: Thu, 1 Jun 2023 19:22:25 +0100 From: Conor Dooley To: Oleksij Rempel Cc: 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 , kernel@pengutronix.de, Peng Fan , Fabio Estevam , NXP Linux Team , Daniel Lezcano , Thomas Gleixner , Michael Trimarchi , Mark Brown , Dario Binacchi , Anson Huang , 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: Re: [PATCH v1 3/7] dt-bindings: timer: gpt: Support 3rd clock for i.MX6DL Message-ID: <20230601-rising-motocross-19f7164e2933@spud> References: <20230601101451.357662-1-o.rempel@pengutronix.de> <20230601101451.357662-4-o.rempel@pengutronix.de> MIME-Version: 1.0 In-Reply-To: <20230601101451.357662-4-o.rempel@pengutronix.de> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230601_112234_759514_78145097 X-CRM114-Status: GOOD ( 21.39 ) 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: multipart/mixed; boundary="===============4163538949386781129==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============4163538949386781129== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="wwtaAij7TnQhIoFB" Content-Disposition: inline --wwtaAij7TnQhIoFB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 01, 2023 at 12:14:47PM +0200, Oleksij Rempel wrote: > Add support for a 3rd clock, 'osc_per', for i.MX6DL to the 'fsl,imxgpt' > binding to resolve the following dtbs_check warning: > imx6dl-alti6p.dtb: timer@2098000: clocks: [[2, 119], [2, 120], [2, 237]] > is too long > From schema: Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml > imx6dl-alti6p.dtb: timer@2098000: clock-names: ['ipg', 'per', 'osc_per'] > is too long > From schema: Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml >=20 > Signed-off-by: Oleksij Rempel > --- > .../devicetree/bindings/timer/fsl,imxgpt.yaml | 22 ++++++++++++++----- > 1 file changed, 16 insertions(+), 6 deletions(-) >=20 > diff --git a/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml b/Do= cumentation/devicetree/bindings/timer/fsl,imxgpt.yaml > index adf617b8f353..21ff51c3f38f 100644 > --- a/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml > +++ b/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml > @@ -46,14 +46,24 @@ properties: > maxItems: 1 > =20 > clocks: > - items: > - - description: SoC GPT ipg clock > - - description: SoC GPT per clock > + anyOf: > + - items: > + - description: SoC GPT ipg clock > + - description: SoC GPT per clock > + - items: > + - description: SoC GPT ipg clock > + - description: SoC GPT per clock > + - description: SoC GPT osc_per clock > =20 > clock-names: > - items: > - - const: ipg > - - const: per > + anyOf: > + - items: > + - const: ipg > + - const: per > + - items: > + - const: ipg > + - const: per > + - const: osc_per Hmm, should we not do per-compatible enforcement here so that the extra clock is only used on the appropriate platforms? Cheers, Conor. > =20 > required: > - compatible > --=20 > 2.39.2 >=20 --wwtaAij7TnQhIoFB Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZHjh4QAKCRB4tDGHoIJi 0gOHAP9vFLSM4KpeYpQ+vt2ySbilt1rP9cF+jqhusEWI0eMDzQD+NFwqAPbALLh2 ge4iyvHlYUvDu4omcsDjRDVRY0S7owI= =XlPE -----END PGP SIGNATURE----- --wwtaAij7TnQhIoFB-- --===============4163538949386781129== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============4163538949386781129==--