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 X-Spam-Level: X-Spam-Status: No, score=-8.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9BDA0C43215 for ; Fri, 15 Nov 2019 07:50:17 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 726392072A for ; Fri, 15 Nov 2019 07:50:17 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="RrzKSVmb"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="Oifm6v9/" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 726392072A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject: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=A4B83kvntVmhgZWP46eWqVQ2fEeLR9zrekmYnodsAYg=; b=RrzKSVmbvuyR7ZsjRJtaSYaFh BVpGfecaVo7IXatYMr8e7MBnP0ch356SHe8vBeSWAcgAGuCXww7GbMGCI8NQ6A+gQJg0Tb0S0XazO VcHvIpp0Ir0WaBzW2V06DvfO7ln5MMiuWqrM/eodIUohwvhXEXWbyy0Mdod8BBDi92+1yKsBMoTO3 xBu/mHHqoTCFLr9npORFdQ9OCCkHdkaXRCvxy0F5ycpeu3IJiaHUSj1QIPG7AylZCgBRqJ2ILpmJM Y6zAqXavDtdSiw0kJFvv3xteZObxntbPiDrUOVF/Jhxcb6DvJ/XFTUcgF/vBhR6QyhrCPQXQtWgNu vpLCuisPg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iVWMy-0003sO-8n; Fri, 15 Nov 2019 07:50:16 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iVWMu-0003cm-1R for linux-arm-kernel@lists.infradead.org; Fri, 15 Nov 2019 07:50:13 +0000 Received: from localhost (lfbn-1-10718-76.w90-89.abo.wanadoo.fr [90.89.68.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B63B92072A; Fri, 15 Nov 2019 07:50:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1573804211; bh=N5y9/j9jBDmNZvdMr4J2c/QD6EJfi4NYUK5ANzDGnqc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Oifm6v9/MIrfdTFrfE3u0TStPDjx8gWCUbH7cfP+DrK/7cEn6jOrKLR+x6nvdWHsq bD6U5rkgwVBc0onFAOv6BjEpg+rV2swpf2Oyve36luFTe7cWhG+arflCpgXBY0v8lo zCZ18z8QZlN2ddgL74/mlHnIIbciyditdaqB1hMg= Date: Fri, 15 Nov 2019 08:50:08 +0100 From: Maxime Ripard To: Christophe ROULLIER Subject: Re: [PATCH 1/2] dt-bindings: net: dwmac: increase 'maxItems' for 'clocks', 'clock-names' properties Message-ID: <20191115075008.GY4345@gilmour.lan> References: <20191108103526.22254-1-christophe.roullier@st.com> <20191108103526.22254-2-christophe.roullier@st.com> <20191108104231.GE4345@gilmour.lan> MIME-Version: 1.0 In-Reply-To: User-Agent: Mutt/1.12.1 (2019-06-15) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191114_235012_127654_232C1A15 X-CRM114-Status: GOOD ( 20.61 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "mark.rutland@arm.com" , "devicetree@vger.kernel.org" , Alexandre TORGUE , "narmstrong@baylibre.com" , "martin.blumenstingl@googlemail.com" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-stm32@st-md-mailman.stormreply.com" , "robh+dt@kernel.org" , "mcoquelin.stm32@gmail.com" , "alexandru.ardelean@analog.com" , "davem@davemloft.net" , "linux-arm-kernel@lists.infradead.org" Content-Type: multipart/mixed; boundary="===============8808693865098703511==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============8808693865098703511== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="5ZoQamfY1dF16JN0" Content-Disposition: inline --5ZoQamfY1dF16JN0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 08, 2019 at 01:02:14PM +0000, Christophe ROULLIER wrote: > On 11/8/19 11:42 AM, Maxime Ripard wrote: > > Hi, > > > > On Fri, Nov 08, 2019 at 11:35:25AM +0100, Christophe Roullier wrote: > >> This change is needed for some soc based on snps,dwmac, which have > >> more than 3 clocks. > >> > >> Signed-off-by: Christophe Roullier > >> --- > >> Documentation/devicetree/bindings/net/snps,dwmac.yaml | 8 +++++++- > >> 1 file changed, 7 insertions(+), 1 deletion(-) > >> > >> diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/D= ocumentation/devicetree/bindings/net/snps,dwmac.yaml > >> index 4845e29411e4..376a531062c2 100644 > >> --- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml > >> +++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml > >> @@ -27,6 +27,7 @@ select: > >> - snps,dwmac-3.710 > >> - snps,dwmac-4.00 > >> - snps,dwmac-4.10a > >> + - snps,dwmac-4.20a > >> - snps,dwxgmac > >> - snps,dwxgmac-2.10 > >> > >> @@ -62,6 +63,7 @@ properties: > >> - snps,dwmac-3.710 > >> - snps,dwmac-4.00 > >> - snps,dwmac-4.10a > >> + - snps,dwmac-4.20a > >> - snps,dwxgmac > >> - snps,dwxgmac-2.10 > >> > >> @@ -87,7 +89,8 @@ properties: > >> > >> clocks: > >> minItems: 1 > >> - maxItems: 3 > >> + maxItems: 5 > >> + additionalItems: true > > Those additional clocks should be documented > > > > Maxime > > Hi Maxime, > > The problem it is specific to our soc, so is it possible to > > propose "optional clock" for 2 extras clocks in snps,dwmac.yaml > > and "official" description in soc yaml file (stm32-dwmac.yaml) ? > > =A0 clocks: > =A0=A0=A0 minItems: 1 > =A0=A0=A0 maxItems: 5 > =A0=A0=A0 additionalItems: true > =A0=A0=A0 items: > =A0=A0=A0=A0=A0 - description: GMAC main clock > =A0=A0=A0=A0=A0 - description: Peripheral registers interface clock > =A0=A0=A0=A0=A0 - description: > =A0=A0=A0=A0=A0=A0=A0=A0=A0 PTP reference clock. This clock is used for = programming the > =A0=A0=A0=A0=A0=A0=A0=A0=A0 Timestamp Addend Register. If not passed the= n the system > =A0=A0=A0=A0=A0=A0=A0=A0=A0 clock will be used and this is fine on some = platforms. > > +=A0=A0=A0=A0=A0 - description: optional clock > > +=A0=A0=A0=A0=A0 - description: optional clock I guess we'd really need to figure out what those clocks are doing, they are probably helpful (and used, under a different name) by others. Hopefully the questions Rob asked will clear that out Maxime --5ZoQamfY1dF16JN0 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXc5YsAAKCRDj7w1vZxhR xfOIAQDuF3beQ9RfPAYD67pkf3/F/dORXIo+wvQohXSAQvcs3QD/UFc1TjzfsZGJ pYg8YtyMyILwneRXRbb0MDJ8mG1A2Q0= =DopP -----END PGP SIGNATURE----- --5ZoQamfY1dF16JN0-- --===============8808693865098703511== 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 --===============8808693865098703511==--