Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp1024148rdb; Wed, 24 Jan 2024 02:27:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IE8DYrZgoP1YxTF8zLm0BsKqcUMyATWpbVH/WRZAssSLjD07VGhZ4OaEukq1MN3FbMx0Mj4 X-Received: by 2002:a17:906:f8d4:b0:a23:7576:3552 with SMTP id lh20-20020a170906f8d400b00a2375763552mr468285ejb.45.1706092063060; Wed, 24 Jan 2024 02:27:43 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706092063; cv=pass; d=google.com; s=arc-20160816; b=zTQ6NaU/Iu9Vk1pLM2XocUZEDrlMVmnKFKljyzlWkER7LnMc0fgs7fl3FMFod1cL+e KMpvsR553hyJXnRRek3ijx013ae0M+S6CBcyWGexfDrp1I2N5uiss9ykcm1g4Cynmx98 joWU7EThLN6DSijHFjOb/x1MUegyNZRI/iXznLJJk2SkOdwx7HAiXOypO+3ip3IYgb2Y xaoYHGFKfZoWI8x8RCE21oJX9bzu0dqVY84SoLKSE+KjPGNqZcyIOwFWdPloPxG0wqiw /HYoUzxQzkD+fmGtNK9A/ftyAfVWm0MNxvi5MlL2aaupWDVKvt8uPuU0GmbhXU8+hSBa /s8A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=oNyK+BUk3qI0NTpayaZT5F7c6HH9cnk+O8f0ISi+tlI=; fh=AL21zbGOXt6UsRTnK1sdrXF0iLtr/lyas0YbU04+CdE=; b=vmp4wLAGwIqFVKI1JSOSTtWP9LKsHO5X5lszptLwa2m3LcJSbruPbtBK5rtVimz6P6 f7YzqNFup6YQeBHwO8vGUi2KjHKw6b4tIzPN3NvmJrMByC4Gv0QUlHvkLS8BCXzkhKgD 62MXhQPA09Xy27CUnhAalnXuc+8btytiWkJMRbQVqQyYAByoB7D6gTvlZ9AcBs8Wv6kA tIBjP+hQ1wYOaL0LbY3s0CgvHnHWHLzMkqh3JtyscYgVn8cbgOPOZITdlzzGkykJY66Q 6NK+tq8+HVpCWeMd40PICyKE/1Oq7B6Pki/7Xmyz0sCFf244KkAOMnGqLblY9w1dUrq8 Ev7w== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-36794-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-36794-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id l13-20020a17090612cd00b00a26ac591e55si12821734ejb.129.2024.01.24.02.27.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 02:27:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-36794-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-36794-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-36794-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id C4A631F239D1 for ; Wed, 24 Jan 2024 10:27:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2D58B18EC0; Wed, 24 Jan 2024 10:27:31 +0000 (UTC) Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2D6B818E3A for ; Wed, 24 Jan 2024 10:27:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706092050; cv=none; b=BUwpmWdWU44ozf3GcCdrPpGxa1H7hUuZ8OODUm8akczWhoKnK8APxVMssqPelLVTssv7k3Q2RoW7nXWL61g060knxP3gTg/ydzk33hGe/b1RjD/aZ5KUgEXe27fe1JWjt8iE8tAZw3Q9DhLGmkU+Je8oqhJYtbzXNOWqDtp/2XU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706092050; c=relaxed/simple; bh=9elGbJ9BhmbogAps8tebLB07/pGkB6rpP+o8/7wQRxg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=iZzs4k9gqWBdy5T0GqdsgLk/pGF9az1gppZMJSl5R6BmtaSmx2rZ7UOuNM98LEob4fOGY6eSXKqkUZi1BOWQl+rEh+Ke59WU/4EUVQbDJGAuttOUuE2iwkLNPgRvSKeXVPSqyDFZ+ewIRk3lRHvY9ozdmJccyIaWGL5EB7CMtQE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rSaTN-0007RA-GC; Wed, 24 Jan 2024 11:27:09 +0100 Received: from [2a0a:edc0:0:1101:1d::54] (helo=dude05.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rSaTL-0022GT-5m; Wed, 24 Jan 2024 11:27:07 +0100 Received: from fpf by dude05.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rSaTL-005aMM-0N; Wed, 24 Jan 2024 11:27:07 +0100 From: Fabian Pfitzner To: Michael Hennerich , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alexandru Tachici Cc: kernel@pengutronix.de, Fabian Pfitzner , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/2] dt-bindings: net: adin: add recovered clock output Date: Wed, 24 Jan 2024 11:25:54 +0100 Message-Id: <20240124102554.1327853-1-f.pfitzner@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240122110311.2725036-1-f.pfitzner@pengutronix.de> References: <20240122110311.2725036-1-f.pfitzner@pengutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: fpf@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org The ADIN1300 offers three distinct output clocks which can be accessed through the GP_CLK pin. The DT only offers two of the possible options and thus the 125MHz-recovered output clock is missing. As there is no other way to configure this pin than through the DT it should be possible to do so for all available outputs. Signed-off-by: Fabian Pfitzner --- Documentation/devicetree/bindings/net/adi,adin.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/net/adi,adin.yaml b/Documentation/devicetree/bindings/net/adi,adin.yaml index 929cf8c0b0fd..04059393b756 100644 --- a/Documentation/devicetree/bindings/net/adi,adin.yaml +++ b/Documentation/devicetree/bindings/net/adi,adin.yaml @@ -38,14 +38,17 @@ properties: adi,phy-output-clock: description: | - Select clock output on GP_CLK pin. Two clocks are available: - A 25MHz reference and a free-running 125MHz. + Select clock output on GP_CLK pin. Three clocks are available: + - 25MHz reference + - free-running 125MHz + - recovered 125MHz The phy can alternatively automatically switch between the reference and the 125MHz clocks based on its internal state. $ref: /schemas/types.yaml#/definitions/string enum: - 25mhz-reference - 125mhz-free-running + - 125mhz-recovered - adaptive-free-running adi,phy-output-reference-clock: base-commit: 6613476e225e090cc9aad49be7fa504e290dd33d -- 2.39.2