Received: by 2002:a05:6359:100d:b0:dc:7f35:3994 with SMTP id ib13csp13437rwb; Tue, 15 Nov 2022 17:57:40 -0800 (PST) X-Google-Smtp-Source: AA0mqf6G4OWt+IBgWG0FCLwv35rbtfXCepAb8LWE8YM8uaK96ieJ6ySZY9Z0iLXreHkJiHxP6b1S X-Received: by 2002:a17:906:a450:b0:7ad:a3c6:6797 with SMTP id cb16-20020a170906a45000b007ada3c66797mr16458954ejb.665.1668563859800; Tue, 15 Nov 2022 17:57:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668563859; cv=none; d=google.com; s=arc-20160816; b=NR8zlIE1XjPUIYvv57dvm4zZefjR6RDfjkaUMJi4wB23ElWBTCYhsJ/t+qfUVU1Y+T RdZ/GOvpULuIU4fv8rAyVVmqUdDNy9pfG+7CwE0mBMgqlwYXz1uqZAaUYQYbJLgxQSxQ ocGOkVKRZTaESHwF2gqBFOp4KeT/hxS1nFRgDgU3l7MUaWu+0n3YgATVq57Hzbh22iOa jHxfZmJWpBGNiSUj/IwwVWr/ELENQbNJKsqumYPrFbK2E//bqAzSVyJ9+qi+jersWE/F m+PJILsWjCwS5Rdpob70lNCR5+wH3W3VxK3GX932mFtViazmadMyDNU95tvqrkdnjLRe FLQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=yFmAK950q45cj8aoIbkBUEry3On2mPcjgESz/yzDyYE=; b=HiENa9IvUHNuAU8tdFjPCHWS3SovwGdZUr5Gcn+kwIy3urepWBah7ZcXr1WF5x4As8 VbgiPGn38aOJKr8wwh5/MEnxV1aIPQ/c53bZYBPoxvmTWZUg/bRT8jl/ZmL+qAP6DTyV jaVe9KOKOCuFjSTyFy5xifrx9BCKhwFbRmeomZq7YEnKMIiJ2+bqyaHTljT0ZIvAs0LB T0Hts5H93txGEM59bs/UUupfA18LlmigUw25NcmlL3lHcfhCUxkbgipzIP9j3pxb0uXT OZIu4R1Q85bq9fa8IFaV/4BhOGJN06dAPniCH+bZ9gNftBsfUvKsiq6XNdk/8589zDS4 aY8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b="tB/JO8Oq"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w22-20020a056402071600b0043d54ba0a4dsi13125582edx.327.2022.11.15.17.57.17; Tue, 15 Nov 2022 17:57:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b="tB/JO8Oq"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231260AbiKPBkj (ORCPT + 90 others); Tue, 15 Nov 2022 20:40:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229667AbiKPBkh (ORCPT ); Tue, 15 Nov 2022 20:40:37 -0500 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3FC331EC7A; Tue, 15 Nov 2022 17:40:37 -0800 (PST) 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=yFmAK950q45cj8aoIbkBUEry3On2mPcjgESz/yzDyYE=; b=tB/JO8Oqb+80yOuMZjJ1ej2CRs NNR2Jj7ECGDSJrFQFkZvokN8l6AqhTZVabEQhevH9BeH8Y1kqK3UDJlfmxH858OjGc5yces0BZw9A V40XbF0ZOeX41t+/BWNNZvhNBu5++7hA6ioMsxEKzSGV03/y9yCWkl45bdDJb2dQGcbU=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1ov7OG-002W6v-Mj; Wed, 16 Nov 2022 02:39:00 +0100 Date: Wed, 16 Nov 2022 02:39:00 +0100 From: Andrew Lunn To: Corentin Labbe Cc: broonie@kernel.org, calvin.johnson@oss.nxp.com, davem@davemloft.net, edumazet@google.com, hkallweit1@gmail.com, jernej.skrabec@gmail.com, krzysztof.kozlowski+dt@linaro.org, kuba@kernel.org, lgirdwood@gmail.com, linux@armlinux.org.uk, pabeni@redhat.com, robh+dt@kernel.org, samuel@sholland.org, wens@csie.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@lists.linux.dev, netdev@vger.kernel.org, linux-sunxi@googlegroups.com Subject: Re: [PATCH v4 0/3] arm64: add ethernet to orange pi 3 Message-ID: References: <20221115073603.3425396-1-clabbe@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221115073603.3425396-1-clabbe@baylibre.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > But this way could have some problem, a netdev driver could handle > already its PHY (like dwmac-sun8i already do) and so both phy-core and > the netdev will use both. > It is why phy-supply was renamed in ephy-supply in patch #3. A MAC driver will put its DT properties in the MAC node. A PHY will put its DT properties in the PHY node of the MDIO bus. Since they are in different locations, they can use the same name. So please keep with phy-supply. Please also update Documentation/devicetree/bindings/net/ethernet-phy.yaml with these new properties. Andrew