Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp5095328iob; Mon, 9 May 2022 08:30:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwLzd7+o/6cM0+xhzOuC39CzIdN19ROu2HcoWGCJSpblq2GoSulaeRq3QydeUTJM1njPyTL X-Received: by 2002:a05:6830:b82:b0:605:43a5:602b with SMTP id a2-20020a0568300b8200b0060543a5602bmr6445699otv.333.1652110255023; Mon, 09 May 2022 08:30:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652110255; cv=none; d=google.com; s=arc-20160816; b=wE4J+aA8ZNSYYDqp1TtF/6yFK9rDstb0UxQI4q/LBirKiohWYZEYoR83riBZXHinDJ m7zyTJmhkbsqaBvInjFElwQU52Lqib/spRHlYbvIodl3kVR90QsZWCy3CXCTST3SjOPh 1+EeWPlHGi+OFvlCztyQvjn+M/lfTJg2DAN+QuuaLjk8+xjhwIwqx/MHawYx/PuYMpni t1DZNr1mHiJv/vUw5d7R0ZK5piMq1PPkkC/L7ibAuTWrqgN1/Uouje85QoyQvb77CI9q R3p8GVGCoAMkH/n99IDsQOzBQsob7lMET+QKXui1WGBZuIxEkxf/yVpueSbWJOi1NkaG apMg== 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=rKwtLw3cM+95hvuJT1geCS3rHMfOzSi9KoR5XyQyqpA=; b=MQWbKQoscCOqubby6gKMPm5bDmvI8gZFNNKSVYRdTwGKdsnXX6X6gaXDTHl0SAWNx0 5dXb+D9ONW48AkGA4LZF+i/LZ4+qae91Q/QEFKsV0dj5YYmKMFn0jVbX7mvlMVO7BftD FpNZF8nJH871gEjM+BDR5uHh6iqixpdI9ukoAWmEqgooOk2Q+mwS1TJqG6KJNa0qyFUe XOmXcRl2Sg+nFI7Om9s3mWtZkKAd1zsFaMgIwi03auvDncjS+PG5fAqtuaQnpx+4NIlp uUmaCxberWofb3u+SHg7eCuyzgOCv6p7xIX3DUaTmQj9GEQZqNcgAfh7yzCeTrV7tL62 m5xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=wvnRNI98; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id j18-20020a544812000000b00326295d0941si4967208oij.209.2022.05.09.08.30.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 08:30:55 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=wvnRNI98; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 A8B252CC105; Mon, 9 May 2022 08:24:47 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238272AbiEIP23 (ORCPT + 99 others); Mon, 9 May 2022 11:28:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238250AbiEIP2Z (ORCPT ); Mon, 9 May 2022 11:28:25 -0400 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F3222C634C for ; Mon, 9 May 2022 08:24:30 -0700 (PDT) Received: by mail-wr1-x431.google.com with SMTP id k2so19951020wrd.5 for ; Mon, 09 May 2022 08:24:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=rKwtLw3cM+95hvuJT1geCS3rHMfOzSi9KoR5XyQyqpA=; b=wvnRNI989Cr31sBb60Fzfp/CEVVtKm1DOJMlpdFbxF/KhSuxQmEPKGOgfCZv5fw6ii EArLsqX/FVAvXoqhQBSxfIvtiinaO2PlnwacCucDvSfvypoKh9gu6dxN1NK7Zz5SAeX2 s+yhqYOKRoSnGJHQw61bcsdDsXGKAhnNDPPCoJzlLpwkKWk2kUplS64o/XGdwvupCzAq bN3RSr93opiPNtq5aWUqXeQ7BRH+dNtCNC4DWbSZHiXJQ7zkBy9PR1wNmt2nm34V7q3m nXHhXaPENXXjfrjmQrhqcv3LcIrXrWaBEPAuZEHX8npUfkjbDNl5mrMFKzfA5SHniLre BUSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=rKwtLw3cM+95hvuJT1geCS3rHMfOzSi9KoR5XyQyqpA=; b=PRP8QWGldq2ec0MQxpZAmEYkoBx+ieZct+qdZ1941RBR/etFCX7BvLGTM1nNqDbgB9 +gZpybtVcYU/JdjGr9A6qRG5I9CB7j5vTjtw0GDwfLibnh4B+/AhfHJdL07iA6gJg6Xy O1efmC9aWbp73d9zJfmpItklXi1T5HtF25RcWJ3zEchC5Zd7XsCJjPtg0BVLO4ze7XYQ ro/lLh6jCj9EcgZt3jiDg05AGM4fK4VB62OZkd/LdlPSGY4derujB2fDAhFjiK5DrboY EFWGLfgorpMwvY80BcxJ0oo4YIxg6z6b36SEnDw8b5VkPOmBhvrMIm0WL5+1qubz9dUC hCpg== X-Gm-Message-State: AOAM531jhE2/UsDqlCWOSGJbJRw92F3T8s1Rosq7EZ9wwZOmanT7vsV3 JVBYkE2/x4QAqlt6cbQlncFq8Q== X-Received: by 2002:adf:d1c7:0:b0:20c:4d5f:e57f with SMTP id b7-20020adfd1c7000000b0020c4d5fe57fmr14372719wrd.453.1652109868819; Mon, 09 May 2022 08:24:28 -0700 (PDT) Received: from Red ([2a01:cb1d:3d5:a100:264b:feff:fe03:2806]) by smtp.googlemail.com with ESMTPSA id o9-20020a5d62c9000000b0020c5253d903sm11539796wrv.79.2022.05.09.08.24.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 08:24:28 -0700 (PDT) Date: Mon, 9 May 2022 17:24:26 +0200 From: LABBE Corentin To: Andrew Lunn 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=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,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 Le Mon, May 09, 2022 at 05:19:16PM +0200, Andrew Lunn a ?crit : > 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. The schematic for the board is https://linux-sunxi.org/images/5/50/OrangePi_3_Schematics_v1.5.pdf Which show a RTL8211E.