Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2120693lqt; Mon, 22 Apr 2024 01:54:28 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWZgZ0o33+bg1+bV8c4d5KrtXpnIg+zoh8G2U400oVkc5shu84qxltv7y4bpd/fbM6hFNcxovwhszM4oqmG2uPkNpWBOYQET2EuzaWRAg== X-Google-Smtp-Source: AGHT+IER01V42YCN5doTlMxU5VVb6XFjFJ6Qi3Hn3lr9RLRhQiR231pkk86lYCFACj/eP0E3i0PK X-Received: by 2002:ae9:f444:0:b0:78d:619c:1ed with SMTP id z4-20020ae9f444000000b0078d619c01edmr10301322qkl.47.1713776067829; Mon, 22 Apr 2024 01:54:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713776067; cv=pass; d=google.com; s=arc-20160816; b=iOXTWjcY6O0PGI72khESB6kO9pgYvNZf9P67dQvicN0DkWMQxZmrAFKl6PUyDrThDm pgkG5qsZNNbU+UI+oRbxDoxkvZvZNX6Ybpo/6i2AKmf1X4Io37bTxbzUjtC4ZxIw1VVG UHuqH4D+I9ehkO28k5fDA9GIUQ9d928w39T0vmCpbOtk358DQCNfsQbPO3d3/LCruxwA xdEX3ps8EBrNI86OseaIsCfDc0Z5Thd5Wmw/ONDwSE6BPpSr9k6D06R7dDygy/jQcVnq /tQda1gZNRWuVfbCDPtTXiaHyswkCTaZGenWFEe5wkpvGotYjt5OLniDOafulRSaVdWL qWsA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=uddVo9ZvZuTKbEsAo2mpo3pOpI/XZTal4ZmyPdBbDho=; fh=xeEg+VWVpawfPgU0UCE8ZlMUX8UyjGORl/sp3igsN5w=; b=EhJmYdTXJdcpvYc7fjAaJ2NZ70/MgIaxgJ9aimjDSVNA53KheX3Eo0JOK5qJLjl5Ns JG9SYLBljUe/YPNbbeituOxmKVmOIap2cUaL/WA1TZ2KvoeNSjrA0Dc3RAYE5VZoSOMS U1BubylfzYm9s6ZA7YEPm7/h2Bq8DNGhbX14c9a+V3lH9SzklFXA1fwHMc59RO4hYa3C jGz+PTHAft8gpb3t2vtv85rJnFJzHSRamAJKH9t3VU/ZeMEntv85XIiKHmGZ4psSJMc7 BNKeQXLYlCXk5QloBXMYtQOModXUhk6ngetq8ZDbGUkMX97SjtvxokNQwsOzVd1SDxNv c2kw==; 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-153027-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-153027-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id vv2-20020a05620a562200b0078bea3b93cbsi9394522qkn.152.2024.04.22.01.54.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 01:54:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-153027-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-153027-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-153027-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 8C8121C20AF5 for ; Mon, 22 Apr 2024 08:54:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0FD135CDE9; Mon, 22 Apr 2024 08:51:23 +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 301ED5A11F for ; Mon, 22 Apr 2024 08:51:20 +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=1713775882; cv=none; b=ny3fYmXc6wd2m9vjB5iDKUVOMVtiVPl0CLrQwKUh9raxCNcC6AFrpm3SFAcRA9VyOgLA0zR7W0pKeLu06sEcD2SkRpbRKX7N6GRmjoCYhTSYe6+zMO4eT/736XS6N6+8seysBaHitPOSEzEp1eusSDFcd5kQTnetezrAx7NuNVE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713775882; c=relaxed/simple; bh=cPSG5BM69SWk6+aZtIIQTDm7qTEsLsxXRx6y4/OB6Eo=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=PaJ9av2S7LxySsQNwRICqYO4WGb2nVQU8Dk496qLgyjvWxCExF45vUBtGQMZkPbG+DRLRkb7D5XR7xKZt+fhRaZXPBovBRMu35QlsxcqT7sNE8i3aEoMvVN0LRYaotZwomPEJM1IGRdU3GdXAGrC2h6gXkxiKAJTIbxq9M4o4Qc= 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=[127.0.0.1]) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1rypOA-0005Bp-Pg; Mon, 22 Apr 2024 10:51:02 +0200 Message-ID: <5264bec0-8ff4-4b39-81bc-eb5226cbec6b@pengutronix.de> Date: Mon, 22 Apr 2024 10:51:00 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 3/3] net: stmicro: imx: set TX_CLK direction in RMII mode Content-Language: en-US To: Steffen Trumtrar , "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: imx@lists.linux.dev, devicetree@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org References: <20240422-v6-9-topic-imx93-eqos-rmii-v1-0-30151fca43d2@pengutronix.de> <20240422-v6-9-topic-imx93-eqos-rmii-v1-3-30151fca43d2@pengutronix.de> From: Ahmad Fatoum In-Reply-To: <20240422-v6-9-topic-imx93-eqos-rmii-v1-3-30151fca43d2@pengutronix.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 2a0a:edc0:0:900:1d::77 X-SA-Exim-Mail-From: a.fatoum@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 Hello Steffen, On 22.04.24 10:46, Steffen Trumtrar wrote: > + dwmac->enet_clk_regmap = syscon_regmap_lookup_by_phandle(np, "enet_clk_sel"); > + if (IS_ERR(dwmac->enet_clk_regmap)) > + return PTR_ERR(dwmac->enet_clk_regmap); > + > + err = of_property_read_u32_index(np, "enet_clk_sel", 1, &dwmac->enet_clk_reg_off); > + if (err) { > + dev_err(dev, "Can't get enet clk sel reg offset (%d)\n", err); > + return err; > + } This looks like the property is not optional. The property needs to stay optional as not to break backwards compatibility with older device trees. Cheers, Ahmad > } > > return err; > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |