Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp5090492iob; Mon, 9 May 2022 08:25:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwbfxqGQkTUOLGkGIE2EXJwCYOZkXkNSR4Zqbydzv0StZNZbYYKzkZeptf6OYKHDAYWFRVq X-Received: by 2002:a05:6a00:1707:b0:50e:23d:834f with SMTP id h7-20020a056a00170700b0050e023d834fmr16535584pfc.82.1652109904256; Mon, 09 May 2022 08:25:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652109904; cv=none; d=google.com; s=arc-20160816; b=vkKp358m9hQU/hzsyr8XY0h9flVJ48i9e6Aw5cD/8Nc9Fdz49rvvVqw85bUN7KtUzS +H7n/C/sEG7o3R+q1DDYu1DyCNgI3C3jNMr7Eb/s01BsZiJ38xjMwpNaqNi84P/TiB9b biTqWZGiJKp1+ZoxURUDXk/f/hlPpRwkLPt9cqGgFhf5wksx+ENsjeIflNFznvMPrmej mqEQrCrv/SkD0itmmHFzrqoPtlPmx6U+Rh/jXJ8azo63Ou7feoBKd4X2UEW/77qlI2Pl XSje4MW4izlLQg3qmzw5OzLRtqbU4ihN16w9Bo3+hU2CEi1Uxeifd5o4kqNGA1waOUY9 Pi4Q== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Vs4pKWIO8ghtfzDiPPWpzVvLUDOdEY+WjcGzBGinpww=; b=K7Qxj2/i8+HV2oYATZ2cBjBmoX569Jb0CzFNVjJOupJ4+4N/wwBPvOBuqlkmNClnC5 H/U+b9ghfr6PuVefikaGFcRE22Tg20o3tgaMApp4D/OU2k4ecE2ngQSZ0Y8jFR3T9Sij TVnIQh6R+KisrAmbG1v0HyKttFGAekhuZQ60Vs4WW9rLcBsI3ux8R9QuuLdyEWRZeEyt bYHfPn4EttN4rw43q953ortdGAL1SAf27P5b5vYlHYUJxJ/Dfkl/lNGMvyoYJmusGahS pOM2dWu0jnU8xrMFQE71Jx6q6LXSWd/D1OK+f1Gds9BcgSj12M04+6+fFoGHJ4h+DgBA tAcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=Zj38KWpy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id k71-20020a63844a000000b003c640602c91si11979458pgd.266.2022.05.09.08.25.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 08:25:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=Zj38KWpy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 5DD7828ED3D; Mon, 9 May 2022 08:19:48 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238190AbiEIPXe (ORCPT + 99 others); Mon, 9 May 2022 11:23:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238115AbiEIPXb (ORCPT ); Mon, 9 May 2022 11:23:31 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [185.16.172.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6989B233A71; Mon, 9 May 2022 08:19:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Transfer-Encoding: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=Vs4pKWIO8ghtfzDiPPWpzVvLUDOdEY+WjcGzBGinpww=; b=Zj 38KWpyFIE1rldm9h43e0xD67487kEzzUvJu0jiAurIiK1eG/aBCAn5lYK2s3MmYe+kg8YScajaJ9d biCy4/Wer9aj72+q4NfUzqCR0Y2rcb5zs5RXgTSaenYKATy2gkQn1UB6VWPFo2+WBglXwXaepcfU7 xDNBwG2sgOxEw0A=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1no5AK-001xhf-8m; Mon, 09 May 2022 17:19:16 +0200 Date: Mon, 9 May 2022 17:19:16 +0200 From: Andrew Lunn To: LABBE Corentin Cc: alexandre.torgue@foss.st.com, broonie@kernel.org, calvin.johnson@oss.nxp.com, davem@davemloft.net, edumazet@google.com, hkallweit1@gmail.com, jernej.skrabec@gmail.com, joabreu@synopsys.com, krzysztof.kozlowski+dt@linaro.org, kuba@kernel.org, lgirdwood@gmail.com, linux@armlinux.org.uk, pabeni@redhat.com, peppe.cavallaro@st.com, robh+dt@kernel.org, samuel@sholland.org, wens@csie.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@lists.linux.dev Subject: Re: [PATCH 0/6] arm64: add ethernet to orange pi 3 Message-ID: References: <20220509074857.195302-1-clabbe@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 On Mon, May 09, 2022 at 03:27:30PM +0200, LABBE Corentin wrote: > Le Mon, May 09, 2022 at 02:20:07PM +0200, Andrew Lunn a ?crit : > > On Mon, May 09, 2022 at 07:48:51AM +0000, Corentin Labbe wrote: > > > Hello > > > > > > 2 sunxi board still does not have ethernet working, orangepi 1+ and > > > orangepi 3. > > > This is due to the fact thoses boards have a PHY which need 2 regulators. > > > > Why PHY make/module is it which is causing problems? > > > > The problem was stmmac support only one regulator for PHY. I'm trying to understand the differences between the two different regulators. If you tell me what the PHY is, i might be able to find the data sheet, and then understand why two regulators are needed and if one needs to be controlled by the PHY driver, not the MDIO bus driver. Andrew