Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp5049242iob; Mon, 9 May 2022 07:38:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwjfbY/zduqFDwZ2zNLqJdUiz3vdlkPyyMIiKmUmKcz7C6SI5laBACPNiywGIwzZfL7lLFl X-Received: by 2002:a63:1406:0:b0:3c1:d946:4dae with SMTP id u6-20020a631406000000b003c1d9464daemr13441582pgl.362.1652107135660; Mon, 09 May 2022 07:38:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652107135; cv=none; d=google.com; s=arc-20160816; b=v8kh3wD3xEQ7ui/xQxDMJWq9Qa3+sxeWlx95U4qNU+C/rqL6WqysQWYVkit9llTE4D fF4cMBOTMHYTF+NsP2XKqAHRozlJw/e4by5T2/AK7URellUYuiv4QHBbMg1TAOpxf5bW 2UqQRFzn7EW8yuTIv1CDizU6/5r+s2m1IciSgZ6oqMwDJ5jqT+U6/5GPdVy6sj9Fgs/Q BMuqeuYDLnVw+LqyNXvB/+sMtZjY4HBshOausQs0QH/bMpRiMI4UnbWIsC/EMHE4fs9B yLoac+hbijJZ8WYJClHvQPIoA+idZhh+KsezgJzRX4EIiQ78A2vSh+i+u4ZJiRhiUEPt 4GSw== 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=PJxb32bRzXR/aRLBsR5ItCKULL5H2PbNvFFo631ZV10=; b=SVRc07dw8SkGsx1m1wZEWeQ3ZNlnrqx97cPdfZoKEXyETdzAKtRIBJwxNYFsG1gNXL /mhLhrU1zW+DXfNCV3gZ+0jDrUevnipbNH6mcWgZpFJKqcOANK7u5OuXZpVz3ANAIII4 SyEAA0v12f0pAV33pwSijEI6nygZY3cmJcuiQRbrQcx6JwMpcoA9pgA72QpGNZ/4iM5v jEDRQ4KpjmP0YhfgQmoK1knIv9bP9toro9ffpqrq4ju1HgcMJa5+JDFWfXxuQd8nf590 E6SlXwKPqgLtOZlFhRu/Fn4/UtTkjHQJ6GUC/oo2cYe0XOWcQ1UBnSSNGRLZI/HsrXaa DZ+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=PvwMCQIu; 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 y10-20020a170903010a00b0015ecd6af9d8si10333613plc.266.2022.05.09.07.38.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 07:38: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=PvwMCQIu; 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 351012AEDA2; Mon, 9 May 2022 07:38:54 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237461AbiEIOml (ORCPT + 99 others); Mon, 9 May 2022 10:42:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46744 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237433AbiEIOmi (ORCPT ); Mon, 9 May 2022 10:42:38 -0400 Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1DB92AA2F6 for ; Mon, 9 May 2022 07:38:43 -0700 (PDT) Received: by mail-wr1-x435.google.com with SMTP id u3so19776168wrg.3 for ; Mon, 09 May 2022 07:38:43 -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=PJxb32bRzXR/aRLBsR5ItCKULL5H2PbNvFFo631ZV10=; b=PvwMCQIuWgWkIhLrIhWXG1QTXvWF92KgQc1EI2AxsHyY2uMYrt1QArVf58cNX+rcAB cTk5RS+HwQB7V20jNfD2vYmF5aOssv2ddRyXUcVdVPp7edxRIwDC7WDQ2TM+DslRqfTN k19rt6a+fMjaYUGl8SARO3HYtvaK5xrKDGq5iT1RBPEoZMuNPlD66IGp7r6nkP//ZxUM pgSl26YFc0kmow6T7eJGC1qtamYmEt6pCNeaLCG+pUzQ/XmgZUD4Of1INA1D+A76mbvD bMK5Akoyl05V96zTPt4Oa8U9v+eoaFw0GJiXjgMU1oFCENqGfPxLuTz+Ops8hAbu4fb0 Gmog== 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=PJxb32bRzXR/aRLBsR5ItCKULL5H2PbNvFFo631ZV10=; b=Z5DWWdkGGKTJxGDf8/i6wV5ZUUjs4wmBBAZw6kdbjKdn5RhXVlK7fQU0fG9XUR8gaa +rYrwE4HeHxaddJFyLXVtmNE3dyfFY3rl71o+h23Cm4n1U6yeGqVXB4o0ux+jUyzFWDY ilUcoUyB3QzyUhUYtH71pJwgYhcRZLLcadpoIHd2uO+2sthA9lmJQGAwR7ibP++BVEjm Rt3BjspMExr5rY6/4tc1IqMxidHlDvvm+AYHkIo07nh8oeCoLqrzJi63/02FAK5qezYr QV0F87CkRfO6YQZuY1RYI3mpLhGpr+CuP/JPc89YWW3Yt2UroSIaIIzHKVteigmqehVo 4duw== X-Gm-Message-State: AOAM5325CT3vBrfBwtxqFdm9GVJvzCXR2pzsXd2Nfo2Cv6kZeWKSSr7E X6Es491rq52g23Oykxe+Knm7Ng== X-Received: by 2002:a5d:6452:0:b0:20c:999d:be77 with SMTP id d18-20020a5d6452000000b0020c999dbe77mr13675304wrw.52.1652107122355; Mon, 09 May 2022 07:38:42 -0700 (PDT) Received: from Red ([2a01:cb1d:3d5:a100:264b:feff:fe03:2806]) by smtp.googlemail.com with ESMTPSA id m7-20020adffa07000000b0020cb42671aasm6829808wrr.105.2022.05.09.07.38.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 07:38:41 -0700 (PDT) Date: Mon, 9 May 2022 16:38:38 +0200 From: LABBE Corentin To: Andre Przywara Cc: alexandre.torgue@foss.st.com, andrew@lunn.ch, 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 2/6] net: stmmac: dwmac-sun8i: remove regulator Message-ID: References: <20220509074857.195302-1-clabbe@baylibre.com> <20220509074857.195302-3-clabbe@baylibre.com> <20220509150907.6cf9c4d1@donnerap.cambridge.arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220509150907.6cf9c4d1@donnerap.cambridge.arm.com> 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 03:09:07PM +0100, Andre Przywara a ?crit : > On Mon, 9 May 2022 07:48:53 +0000 > Corentin Labbe wrote: > > Hi, > > > Now regulator is handled by phy core, there is no need to handle it in > > stmmac driver. > > I don't think you can do that, since we definitely need to maintain > compatibility with *older* DTs. > Is there a real need for this patch, or is it just a cleanup? > I mean we should be able to keep both approaches in, and the respective > board and DT version selects which it is using. > > Cheers, > Andre > It is just a cleanup. But yes, probably keeping it will be necessary for easy compatibility.