Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2474518lqt; Mon, 22 Apr 2024 11:41:54 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUgOou68J5YgCWfcflP2rZziXAT1uzOFLcLolMe6R0aOgSqoU3EeiKjk1l8Vvkh3Ab2cNX+2ObYUgXlxn9d/XZXYVX7Ag8l5yaWSpMI/A== X-Google-Smtp-Source: AGHT+IH6T8ud1JQPz/vGTh4iipeQEVdn6GohuTVAokMUH4MBtFq3Bu1U5dR8yDSYNPZuOHBSCF1g X-Received: by 2002:a17:906:615:b0:a52:3623:f498 with SMTP id s21-20020a170906061500b00a523623f498mr8101620ejb.31.1713811313869; Mon, 22 Apr 2024 11:41:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713811313; cv=pass; d=google.com; s=arc-20160816; b=yfHzHLW7tURq66nwmSnzeoHeuhkKHhHqNFuPZ+w4lcpYKkWQEqPIIG7WUDC9ojmpMZ bTIQzErhbXq2GP3TXOXsM4B94ldBg28NGtfHWRAYvrSMniBrbkH9brjmHF88U3mFEuAp cDcnY4GqAgnpNpfFgjMqB//hLu+4XrEkUkxIfqa4972u+6AAScF3rHQ4iiiPsoIXERFR QCReDAt93YYIK4IzAiAqo3R+Hh1WAoCRlzhPR/wyxxPI0eOqzyKQ16dbWK5PxV1NLd5j WtPSxS4qQEC80bHBdV8AnvozHWVyJAegrGPlKxskYjK1LVtxmwor6A2mpN1ZRMmR2YRA AmyA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=nrWXsKM4GcLwFBIZrYvh14P/NRPtdrs1fUJfL6jXu2M=; fh=3jAD+/WDKHNDH/4p77yHC6zR3KGuxTQrbViNA/7tycQ=; b=c6ThyhE08/0w9eB6NpSAQCcphhblmM6YgcI98Axi948PxV0rH7sv1Aoj5UBW5WffLb WGSmQqQQEuf2WFoQKZG5XvQFW/5UROszOBkeqBJqeMrVlaAkd1ZjV44yOJXSOV6TzVFe 75ZODwL+J9r/DvxtP0waUfpC3V+rzjfYYYweLJmFpGMLfZSpZ59m+HQCOlXUMH/pPq4e 8BHf7fQbPC6DJ6H2bQBaB9WlUcn7XvlIWiXMuvcKfUFjceEzylq8G5VT3a5VTUE2xYeN mIzZ48NTppk9OHiQyTYANoTiSp8XSeYPcBF3H1M/GyCHfn2VMswmajEh7/97RJBBLjVk hsQw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=222tnBrQ; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-153671-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-153671-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a20-20020a170906369400b00a52178087e5si6243034ejc.471.2024.04.22.11.41.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 11:41:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-153671-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=222tnBrQ; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-153671-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-153671-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch 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 2FA8F1F233F5 for ; Mon, 22 Apr 2024 16:03:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4B734153598; Mon, 22 Apr 2024 16:03:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="222tnBrQ" Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (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 31AE1153572; Mon, 22 Apr 2024 16:03:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=156.67.10.101 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713801788; cv=none; b=Q8IUhzpSCM1TRnvPNCgnb4yM8oZJchHD4X8cDhVsviKmMY8heqYbwLRbWuCfpH8jtB96liefDLlOMChD5v/eIB0gqF9JsS+ztaUl7/EfIYI5rnMV07w9FMhxBXTPcuDVHRT7i2HgKWwUHxEsYGDcv9XDC/niMNOS+U2NyulEZ6Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713801788; c=relaxed/simple; bh=z6xykXSbOqn7cIGy1HJCH5EuceJlzbwO6qft+dmLyLU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=QJ9kAmlr05PPOi9obht8airIsWIboq0sXRLOwyttk+XlQfjQx6EVh87W1woyp8lXQCbvPv+T23xp1ZlMLiP+2XMmXoCOKFQUmAIttJmYDt1o6fN79BNJluV+mZta1o1ltF819mfVWg7APQLH0I4/z0xgX5u87F2WjGRrxJOiIGE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b=222tnBrQ; arc=none smtp.client-ip=156.67.10.101 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=nrWXsKM4GcLwFBIZrYvh14P/NRPtdrs1fUJfL6jXu2M=; b=222tnBrQxmPiTVFF5iurH3o4Ms jz0+OyhvcCMg1AKkQYQdWPsQJmy0WBpcYOdwK0b6dNfthA3JYwsjsw3eEbZM61aaOJhbzKqgUHVVR ySoKu+nGVjb5gjPaGgvGYFGT/MDyLCVgqpk5Nd5TAInaSWOsucpk1U0eZ54CPbRghaww=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1ryw80-00DdF8-R4; Mon, 22 Apr 2024 18:02:48 +0200 Date: Mon, 22 Apr 2024 18:02:48 +0200 From: Andrew Lunn To: Steffen Trumtrar Cc: "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 , 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 Subject: Re: [PATCH 1/3] dt-bindings: net: mx93: add enet_clk_sel binding Message-ID: <972f323b-2c90-4088-b245-d5a8077d77e8@lunn.ch> References: <20240422-v6-9-topic-imx93-eqos-rmii-v1-0-30151fca43d2@pengutronix.de> <20240422-v6-9-topic-imx93-eqos-rmii-v1-1-30151fca43d2@pengutronix.de> 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=us-ascii Content-Disposition: inline In-Reply-To: <20240422-v6-9-topic-imx93-eqos-rmii-v1-1-30151fca43d2@pengutronix.de> > + 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. > + net/nxp,dwmac-imx.yaml intf_mode: $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. dma/fsl,imx-sdma.yaml gpr: $ref: /schemas/types.yaml#/definitions/phandle description: The phandle to the General Purpose Register (GPR) node memory-controllers/fsl/fsl,imx-weim.yaml fsl,weim-cs-gpr: $ref: /schemas/types.yaml#/definitions/phandle description: | Phandle to the system General Purpose Register controller that contains WEIM CS GPR register, e.g. IOMUXC_GPR1 on i.MX6Q. IOMUXC_GPR1[11:0] should be set up as one of the following 4 possible values depending on the CS space configuration. IOMUXC_GPR1[11:0] CS0 CS1 CS2 CS3 --------------------------------------------- 05 128M 0M 0M 0M 033 64M 64M 0M 0M 0113 64M 32M 32M 0M 01111 32M 32M 32M 32M In case that the property is absent, the reset value or what bootloader sets up in IOMUXC_GPR1[11:0] will be used. How about defining that the General Purpose Registers property is once, rather than per device which needs access to it? Andrew