Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2118052lqt; Mon, 22 Apr 2024 01:47:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUgIreA0LjcfVD1D7hqnne4O3f0OIyQ/AeIXs+o3b/72FQBnYA/Xd9VyX6FU3czTGzN9hTeI4jnfX8r4akDA2lMZ3YlR+pwU/b+R/xiVQ== X-Google-Smtp-Source: AGHT+IHCBynFDopmXmBkF9iSfh39rVki3k8Q5JnRrmQbvFOVgto0ibVmd8dx6qKaatgPvHXGmWiJ X-Received: by 2002:a17:902:e84e:b0:1e5:10e5:b728 with SMTP id t14-20020a170902e84e00b001e510e5b728mr12171992plg.35.1713775630339; Mon, 22 Apr 2024 01:47:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713775630; cv=pass; d=google.com; s=arc-20160816; b=aXa0d9JffGFCaOb3UySUO21z0t65qOB53r1rp7coaHUodXQ3jCY/Y00jJ3cfMDCmir mQzL5rAarcMSpTJ+uANGwJ97ohgOozqK0pLLwg1mtXAPorD0HotNqSVcQrusLxbSXyhf mDH7113yGzKz38W/5e6p77f9zWjNEtc1s9rpw/H2iEpVu6A4xMUn0MHZd7Gk8/lqDoM4 CIznKhT0/IW1u7ZCTMBadR+T+MazNTaSzW1ck613Lybym0IfDtLvUIg4PjjGEXxRweCl uNkrNNhoK7Au2zc1BTOFpCEEIWAo18CqmcDFlhcqxeNzQ8rHvQPMRBM5lExPm+L3KsDP qnbw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from; bh=nIODnTDc6DSAInM/KU7/s1RU80nv/horOcPk6s9N94w=; fh=YVkujlvN5Y4Rrkj+By+pHgfHWTTXCIH/+pvMFJze4gU=; b=NVOa7ngDLeQLSbwfxB5sIlw5TElXBjQpC1kzOljigBgw4B6JEJmioc60tSXo7ctGWK iNH6bEwugfpb45yHmNyOoTRNGHRqUSOpS7qE9LGjdFmpp/st9ufxfUQtkPKhm6Ni0Rw7 OgrwD0PnlKN42U5Z2MXko03e5BuPQSP8wxlSVnaGvrWIm4kOytBu2LSAtVgZ+H614/A+ 5PbrN8/Pl0KSzY+ZtJXthLs09AqlXhGLKq0hwfuXMbDXjvSjQkmCcKk3CPkIpR6G0MuB ejKenjUDUdkTT47Sz9OVoVcly8fa6O7SrxnF2LvVlkoJbbra6L2gOailn3FtGTrKrMWZ HEPQ==; dara=google.com 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-153002-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-153002-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id k15-20020a170902ce0f00b001e4b20c22b9si7526756plg.101.2024.04.22.01.47.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 01:47:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-153002-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-153002-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-153002-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id F006928108A for ; Mon, 22 Apr 2024 08:47:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B6D7253802; Mon, 22 Apr 2024 08:46:36 +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 F1C1351C3B for ; Mon, 22 Apr 2024 08:46:33 +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=1713775596; cv=none; b=tywwL/yuanAcMk2Rj7ILJK3VP9aiVGSjgGzLlTfCFCd12+TU6n6AlwmhnM89PiqB0FMUY6EKtGu4PCfM5pIqx9rcwH9Ft8cFlVaXN4dpTW+Ls58WfyAAMYEFjN4o+EJNOj2sS+JRAqeW0xuIfG2UmZo9EuSgZCWUqpkbFoL+19U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713775596; c=relaxed/simple; bh=QIpJu9ALWPLds/Oeu/ERZh+j6cvh9IyUasgqi32VFbM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=tp64vLyRY+hWUe4q9jIr/GyoQcNkuG0B6zanYSuhKn53Dp6lyiAyibY4xGksqqGhU69xxphRQndRYk/XXk/CZiswDIwualW3sU8iUhxCR+sFaVWjH87/pi0HsiA86pDxT4ibj5zCrJmSmKsk+hUW8WaylYLx1/FdlhxlCIOu+LI= 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 ptz.office.stw.pengutronix.de ([2a0a:edc0:0:900:1d::77] helo=ratatoskr.trumtrar.info) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1rypJe-0000ML-El; Mon, 22 Apr 2024 10:46:22 +0200 From: Steffen Trumtrar Date: Mon, 22 Apr 2024 10:46:17 +0200 Subject: [PATCH 1/3] dt-bindings: net: mx93: add enet_clk_sel binding Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240422-v6-9-topic-imx93-eqos-rmii-v1-1-30151fca43d2@pengutronix.de> References: <20240422-v6-9-topic-imx93-eqos-rmii-v1-0-30151fca43d2@pengutronix.de> In-Reply-To: <20240422-v6-9-topic-imx93-eqos-rmii-v1-0-30151fca43d2@pengutronix.de> To: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Clark Wang , Linux Team , Alexandre Torgue , Jose Abreu , Maxime Coquelin Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com X-Mailer: b4 0.13.0 X-SA-Exim-Connect-IP: 2a0a:edc0:0:900:1d::77 X-SA-Exim-Mail-From: s.trumtrar@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 When the eQOS on the i.MX93 is used in RMII mode, the TX_CLK must be set to output mode. To do this, the ENET_CLK_SEL register must be accessed. This register is located in a GPR register space. Signed-off-by: Steffen Trumtrar --- Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml b/Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml index 4c01cae7c93a7..1d1c8b90da871 100644 --- a/Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml +++ b/Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml @@ -56,6 +56,16 @@ properties: - tx - mem + enet_clk_sel: + $ref: /schemas/types.yaml#/definitions/phandle-array + items: + - items: + - description: phandle to the GPR syscon + - description: the offset of the GPR register + description: + Should be phandle/offset pair. The phandle to the syscon node which + encompases the GPR register, and the offset of the GPR register. + intf_mode: $ref: /schemas/types.yaml#/definitions/phandle-array items: -- 2.43.2