Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp4020384pxb; Mon, 8 Feb 2021 06:11:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJxCP5Z4B7fpxoVLhrmfUbEc/FXdOO7LsCtji1u7zV1GtfzwKGh7LFTPOh7IWFfh6bxHHxzG X-Received: by 2002:aa7:d58b:: with SMTP id r11mr17218917edq.241.1612793503131; Mon, 08 Feb 2021 06:11:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612793503; cv=none; d=google.com; s=arc-20160816; b=QuT0w7+zByU/Y9Mq3+f9CpE6hWxgGG8ISeLYhbYQPv5IUtPWPRd0hytjfryEJngU8H 3ro4klO0kSot7pVqurcEoZMpJQn0fu0wdK8lNejkqhLCQI6jkB4OmP6UD9X+r6Af+yTi yIqQbWU5E9Oo4t3GLoIuwO+bA+X9bhhiiB0Ddk100uKNpwH1n6XDi1dmWqqzwOrOFF9Q LbxCBu0JpVOAUUBveINizTr63jz+Gwq/ip2imcCuJOeaQST0Iv6U02lJnp692XzXcFM2 VvYySW9hpWz5AhYewFdZBeE10Ok8F4Uw0ir21i+BV7iInotBEEnRYFJW9kcN8o07d26F YPIg== 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=ggEPd6rdOpcArWZdPh/5PjdhC/cWG/YYLbZf//fTdIA=; b=gVk1LzZ0V2RPwFqimWtQJs7U2/1yN+KgWEiupOOqcFW6Z1+Y8l/dZjpP1UN1HwfdKp R9c2JjMb73deOC2Ut3rWKumyB2UK95rHojZB3hxM0tQFajsYoQyk9ZWOGAn1Vcign2LV JZRujzuTYD3cT18ERQSeK3TISYOQi2k/i8GrsXGWaKsAfp6yaCVv0JCmBWdw24nDK7LK U4bDvkJJChIakhxuBtSg8mt5K/X3njmiZO7VdTtS5dm5VccxO4bwS9OCxp5hptb4LAiA xeNH2PZdh2Fz6Q3z0Wm8PR0XMQqbu5DkOwXT9qr3V/76sEqb/CSZ4I8jB5D339belWBd YiEA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n4si11578524eju.649.2021.02.08.06.11.05; Mon, 08 Feb 2021 06:11:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232375AbhBHOIB (ORCPT + 99 others); Mon, 8 Feb 2021 09:08:01 -0500 Received: from mail.baikalelectronics.com ([87.245.175.226]:57064 "EHLO mail.baikalelectronics.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231904AbhBHN5r (ORCPT ); Mon, 8 Feb 2021 08:57:47 -0500 From: Serge Semin To: Rob Herring , Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , "David S. Miller" , Jakub Kicinski , Johan Hovold , Maxime Ripard , Joao Pinto , Lars Persson CC: Serge Semin , Serge Semin , Alexey Malahov , Pavel Parkhomenko , Vyacheslav Mitrofanov , Maxime Coquelin , , , , , , Rob Herring Subject: [PATCH v2 06/24] dt-bindings: net: dwmac: Add Tx/Rx clock sources Date: Mon, 8 Feb 2021 16:55:50 +0300 Message-ID: <20210208135609.7685-7-Sergey.Semin@baikalelectronics.ru> In-Reply-To: <20210208135609.7685-1-Sergey.Semin@baikalelectronics.ru> References: <20210208135609.7685-1-Sergey.Semin@baikalelectronics.ru> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-ClientProxiedBy: MAIL.baikal.int (192.168.51.25) To mail (192.168.51.25) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Generic DW *MAC can be connected to an external Transmit and Receive clock generators. Add the corresponding clocks description and clock-names to the generic bindings schema so new DW *MAC-based bindings wouldn't declare its own names of the same clocks. Signed-off-by: Serge Semin Reviewed-by: Rob Herring --- .../devicetree/bindings/net/snps,dwmac.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Documentation/devicetree/bindings/net/snps,dwmac.yaml index 21e53427551c..56baf8e6bf17 100644 --- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml +++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml @@ -126,6 +126,18 @@ properties: MCI, CSR and SMA interfaces run on this clock. If it's omitted, the CSR interfaces are considered as synchronous to the system clock domain. + - description: + GMAC Tx clock or so called Transmit clock. The clock is supplied + by an external with respect to the DW MAC clock generator. + The clock source and its frequency depends on the DW MAC xMII mode. + In case if it's supplied by PHY/SerDes this property can be + omitted. + - description: + GMAC Rx clock or so called Receive clock. The clock is supplied + by an external with respect to the DW MAC clock generator. + The clock source and its frequency depends on the DW MAC xMII mode. + In case if it's supplied by PHY/SerDes or it's synchronous to + the Tx clock this property can be omitted. - description: PTP reference clock. This clock is used for programming the Timestamp Addend Register. If not passed then the system @@ -139,6 +151,8 @@ properties: enum: - stmmaceth - pclk + - tx + - rx - ptp_ref resets: -- 2.29.2