From patchwork Thu Apr 15 10:10:32 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre TORGUE X-Patchwork-Id: 12204981 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=-16.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT 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 A56EFC433B4 for ; Thu, 15 Apr 2021 10:16:31 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 247186109F for ; Thu, 15 Apr 2021 10:16:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 247186109F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=foss.st.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+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=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-ID:Date: Subject:CC:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=jpE/AYdRg22fwe2e2WURQLBKhTdcFbUzC1LJgNUNLqU=; b=NABXglz/wqLZauazTKRLxZNze Bt6ReHHsnElhexvRzgzCjfTB/sBLSsryM8Z1pbik6ODTnEoJLAzdlTSujlGGDDYz7XVeMevAgW592 f1bzIr4X4ve3gMe9ZyTNwb5RGFijuvEidfQZuC6OTHTLM0LmEJHnHE2WBhBJJtltmPj1XVfKs/yIt OJ0zq+qSNaX6u+m1WS6m7MRmP3+c0f7RyE5hvZsIcV0T17F/8TL/kJnF1laCfAAsBPMI2WRHAr+dE FjyuL18wtLhaXuL4bkLAxXPQlCJTXzQISKabpS8TrzbUj5fuwIPXgpoKkLs2ub3CJyFLdwdIG0/2x RAyEHO0nA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lWz1I-00FfvP-Pa; Thu, 15 Apr 2021 10:14:46 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lWyxf-00Ff2H-KV for linux-arm-kernel@desiato.infradead.org; Thu, 15 Apr 2021 10:11:02 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:CC:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=dgT2ZwyZ8256uUTBJSe4CtsB5Fasf+nqj/cQAxVbWVc=; b=2hZoNrDlc1LGlq2hgyZDvSnXNV wkZQiGpWDStBBLIPBApM846khErWwf0wPsxWIna2oo4as5OZ6bfMhZtuxB+mjjeRay3k5pLd5TmK9 tKG4gBcSBY+mxpBwwEn/2lPqGRUOWCLZKrWte5jM53vSd/t8ZoCYmqAY1V9+dVBgNydJwB0EJ2Trl 2iLOqcP1bmGPt5gJ03Ap9MZuyLX0cmysKNRn2aMGJ6OVmmuuR6dqRgNm81jBITIXG8n6A8qLQx2EY +N3rwgPVey1K2UmmgK9bvWZVTxvGVSpc0/BVH2NKf/P4eu3RvAQSy5yU+DzIJoA7CRXaPPIedIpxN zM6amYKg==; Received: from mx07-00178001.pphosted.com ([185.132.182.106]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lWyxc-008SZP-2S for linux-arm-kernel@lists.infradead.org; Thu, 15 Apr 2021 10:10:58 +0000 Received: from pps.filterd (m0241204.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 13FAAhgb025278; Thu, 15 Apr 2021 12:10:47 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=selector1; bh=dgT2ZwyZ8256uUTBJSe4CtsB5Fasf+nqj/cQAxVbWVc=; b=nH4lnb1ILN9FUQnPQyTOsvB5JoRnNRuz+yFsFAqxegu+CwTASmImLaXHKIhR0JoxpteB 0OTHNi9NuC1iYHETPA4dVWH3+TA1NQfLc/nds5aYKvgIl6yP1ozGXpvMLjAkc0XkQ+VD WBz/6/c0tChOEQfuOYgH0TluGiKVqM1YyfRP+5PQoQsI/QmdshkcK0l5W+jtDn5AdCJU 2YQEjhJmUbVeB4rvZXv8chrsYOAiFSNnbHIWblIX+3CfKLLQzPehO4hTS9B/6NHguQJZ vvbxdXjZqp04SHYFPtMJ/NhQEZBe5gBrUG3kScrYIV95BjHUDpjajdsDPv+jA6Y4n5Is sw== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 37xes0t601-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 15 Apr 2021 12:10:46 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 68F3B10002A; Thu, 15 Apr 2021 12:10:46 +0200 (CEST) Received: from Webmail-eu.st.com (sfhdag2node3.st.com [10.75.127.6]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 5A425226377; Thu, 15 Apr 2021 12:10:46 +0200 (CEST) Received: from localhost (10.75.127.51) by SFHDAG2NODE3.st.com (10.75.127.6) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 15 Apr 2021 12:10:46 +0200 From: Alexandre Torgue To: , , Marek Vasut , , Manivannan Sadhasivam , Marcin Sloniewski , Ahmad Fatoum CC: , , Alexandre Torgue , , , Lee Jones , Subject: [PATCH 08/13] dt-bindings: net: document ptp_ref clk in dwmac Date: Thu, 15 Apr 2021 12:10:32 +0200 Message-ID: <20210415101037.1465-9-alexandre.torgue@foss.st.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210415101037.1465-1-alexandre.torgue@foss.st.com> References: <20210415101037.1465-1-alexandre.torgue@foss.st.com> MIME-Version: 1.0 X-Originating-IP: [10.75.127.51] X-ClientProxiedBy: SFHDAG2NODE1.st.com (10.75.127.4) To SFHDAG2NODE3.st.com (10.75.127.6) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.761 definitions=2021-04-15_03:2021-04-15, 2021-04-15 signatures=0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210415_031056_429535_4DAA736A X-CRM114-Status: GOOD ( 11.84 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org ptp_ref clk has been added in DT but not documented which makes yaml validation failed: ethernet@5800a000: clocks: [[6, 105], [6, 103], [6, 104], [6, 123], [6, 169], [6, 112]] is too long ethernet@5800a000: clock-names: ['stmmaceth', 'mac-clk-tx', 'mac-clk-rx', 'eth-ck', 'ptp_ref', 'ethstp'] is too long Signed-off-by: Alexandre Torgue Reviewed-by: Rob Herring diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Documentation/devicetree/bindings/net/snps,dwmac.yaml index 0642b0f59491..0201a879399f 100644 --- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml +++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml @@ -89,7 +89,7 @@ properties: clocks: minItems: 1 - maxItems: 5 + maxItems: 6 additionalItems: true items: - description: GMAC main clock @@ -101,7 +101,7 @@ properties: clock-names: minItems: 1 - maxItems: 5 + maxItems: 6 additionalItems: true contains: enum: diff --git a/Documentation/devicetree/bindings/net/stm32-dwmac.yaml b/Documentation/devicetree/bindings/net/stm32-dwmac.yaml index 27eb6066793f..a1c490f3af02 100644 --- a/Documentation/devicetree/bindings/net/stm32-dwmac.yaml +++ b/Documentation/devicetree/bindings/net/stm32-dwmac.yaml @@ -46,17 +46,18 @@ properties: clocks: minItems: 3 - maxItems: 5 + maxItems: 6 items: - description: GMAC main clock - description: MAC TX clock - description: MAC RX clock - description: For MPU family, used for power mode - description: For MPU family, used for PHY without quartz + - description: PTP clock clock-names: minItems: 3 - maxItems: 5 + maxItems: 6 contains: enum: - stmmaceth @@ -64,6 +65,7 @@ properties: - mac-clk-rx - ethstp - eth-ck + - ptp_ref st,syscon: $ref: "/schemas/types.yaml#/definitions/phandle-array"