Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp401054ybl; Tue, 13 Aug 2019 23:20:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqzf3wpFegS0W79KvFrOXf4y2sEpcQvBXZ9cMg4ztyPtmpAnI0npvPNNDk5+K3rUd/5/froO X-Received: by 2002:aa7:8559:: with SMTP id y25mr25027084pfn.260.1565763601351; Tue, 13 Aug 2019 23:20:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565763601; cv=none; d=google.com; s=arc-20160816; b=Y9DaIEHJkT8C/zQEiH824gPOcxyPJC3D0ks6uP+zN+2L6DoUh3yIKheOhPidl2aKaa bU3jPC4eNttJp+fZNGYYhMIMhY3RH5qICp3XVM7V+XN5NXcw4OQZ1LfuaMUxDPzlU9TD J6ARAX7RDCQS3X87B+d1JZ4z7dFwqOxXsbhKv3KspkCfrE3mUuBtx1Qh9YFuk74hEvQI fzHiV0bbTuHEZIxVSQRrFCJ0CmBXAftu8zh22pXZcUipqce2hLewSw7uwKKiJdw4Kq4j yH8FNNjJg1YPG6yG3ph5jnYqjYGDMsFqI538HXnv1oPZhziPk2Q4FPuDNd0lnB5LId9o G8Jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=h2Zmuq1LzTEeDVfRxuk635BAG8HwjEFsXKfbcLtx4qA=; b=kVwfdsq7WrL5yKkVXQwUEzZZCEa4X8Ge7y5vsXTjgZXK8Qr2sWYiOTxxi3ksgsivM/ XdlIu/2PBdITQe0tziACeFF2dZkE4uHM7meJr0B3/By2w4gjudcdNDxAmqFg9aREkiHN ripNJGYjDU/PA5fVyfzOlNIQzQSVBM3S/pBNAqNIqVUFLjnSJNbZI8acpCswvrowohMc /cAMU6AtkpWP2rmNkhnO5mXBsb37Gvf8omMnQgUCg8vURY+AJdWmZZzKcRoARGcK5FdT PELrSTekUanQ9cOyJu11AUZe8RPkPZHCF7NtehU3dZuawb3x0kZbhbmEukxpbQTSeDGo +ZdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=KjIf6IYY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b20si12584243pgl.533.2019.08.13.23.19.44; Tue, 13 Aug 2019 23:20:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=KjIf6IYY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727273AbfHNGRV (ORCPT + 99 others); Wed, 14 Aug 2019 02:17:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:41928 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725265AbfHNGRU (ORCPT ); Wed, 14 Aug 2019 02:17:20 -0400 Received: from localhost (lfbn-1-17395-211.w86-250.abo.wanadoo.fr [86.250.200.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4CCBF208C2; Wed, 14 Aug 2019 06:17:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565763439; bh=h2Zmuq1LzTEeDVfRxuk635BAG8HwjEFsXKfbcLtx4qA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=KjIf6IYYK3XD0qhY4dWTgaz08i4vPb0oCS7yDb8DUiQXXCKW4u27PtNeMAmi6DS0Q /1FvUfCfsn/mKzfRCXWUxzuwMnT06sCQUHrRnDNWWqtqQ0qPkLewBL4ZGTicqJxdUA oOmBqSgqlTYbHiwF95rB3yxemzEn/TQ7B7jzHmlA= Date: Wed, 14 Aug 2019 08:17:17 +0200 From: Maxime Ripard To: Chen-Yu Tsai Cc: Chen-Yu Tsai , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ARM: dts: sunxi: Add mdio bus sub-node to GMAC Message-ID: <20190814061717.54uuat3cypxjucfq@flea> References: <20190814042208.9646-1-wens@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ca47qifq3uyu2lgr" Content-Disposition: inline In-Reply-To: <20190814042208.9646-1-wens@kernel.org> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --ca47qifq3uyu2lgr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Aug 14, 2019 at 12:22:08PM +0800, Chen-Yu Tsai wrote: > From: Chen-Yu Tsai > > The DWMAC binding never supported having the Ethernet PHY node as a > direct child to the controller, nor did it support the "phy" property > as a way to specify which Ethernet PHY to use. What seemed to work > was simply the implementation ignoring the "phy" property and instead > probing all addresses on the MDIO bus and using the first available > one. > > The recent switch from "phy" to "phy-handle" breaks the assumptions > of the implementation, and does not match what the binding requires. > The binding requires that if an MDIO bus is described, it shall be > a sub-node with the "snps,dwmac-mdio" compatible string. > > Add a device node for the MDIO bus, and move the Ethernet PHY node > under it. Also fix up the #address-cells and #size-cells properties > where needed. > > Fixes: de332de26d19 ("ARM: dts: sunxi: Switch from phy to phy-handle") > Signed-off-by: Chen-Yu Tsai Applied, thanks! Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --ca47qifq3uyu2lgr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXVOnbQAKCRDj7w1vZxhR xdDUAQCnpVdT3KpOHMNy0ph4E404oIUBtZ6WuuLwZ9M2kNjwgQEAlByupn0xScxl omeoaNbOWFWe22TFHJ0najT2LdaC2Q0= =LPlq -----END PGP SIGNATURE----- --ca47qifq3uyu2lgr--