Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4613584iob; Sun, 8 May 2022 19:14:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxzRoYV/IrinfCj7QkvuciTYbAXAZ5zbj2Q5GQz2VU8FQ4ZtMnx74/P2Goxm47GkCeEqVv9 X-Received: by 2002:a17:90b:3ecc:b0:1dc:9471:31a1 with SMTP id rm12-20020a17090b3ecc00b001dc947131a1mr24085492pjb.220.1652062489099; Sun, 08 May 2022 19:14:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652062489; cv=none; d=google.com; s=arc-20160816; b=uVeJ4niCuGucmEIthNUzYBPuthDlUx7Q4fguG+CFIeJLkAr96O1aPKc3tL/S4bnZ8c Cf3ixUmrjoVzIHeCP3BcKRjwickFc4anPsERgsH0JtCGNg8yhIU0bDfAoMz1vh1Izl4r qjQgbfHw/Zg5Sxky4CJ6prnzFluuxnDPD5sZrrBp17BvzFcTvDVVrOKmda8gJ6KzAg8G 93t3x04mTNAZS3vdIfF6WqszH2xO/ejAXt+f5kYqtD8lHOe6DuGUsuDDi0STPy/KvSEZ ZZUNR0S7spOztfpiYA6JClwQLgTpvo6eTqjaHWWWMHbwalhECHsQ758i0dWSJ3JE6o4n oUHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=vug/5OwL5QxvdHl+t7LTs9WsQ3Y5qBaJk7ioycsogBI=; b=KF4Kxep/x5vqOedeQGPsRcLvrKMy2MUU0Snoq5vSdEuUGLJsP0NirwrkphSvlYTgRk sb2BrdBc4qb8Md4FxcEIz41swdIHeJ0NtYJ9k0YLIu5YykImxgDdZhTmsTd5Jk1I+LU1 W8E44t978lreaguB1YkSJcM8ofvuXc0lDnxfeCvzDwlVR4b/S8joZ3mVPPFhJ9GywsAn YhHEcAMQiMvia3+6NVQIdWwM/aNcVqcGSEzLpHCAI+dbN2dIqvOtp0ez2m+HbLpxSDnf LSKLoJ0pslPuJ4AIL9zY8ZeByrNqJrBmGc1zTbpb6A9Her18WlEbbG7/LIRI7QCNOl4n +aDg== ARC-Authentication-Results: i=1; mx.google.com; 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 p5-20020a1709026b8500b0015826677457si9025014plk.354.2022.05.08.19.14.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 May 2022 19:14:49 -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; 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 DCEE453B79; Sun, 8 May 2022 19:14:40 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1392508AbiEFN2n (ORCPT + 99 others); Fri, 6 May 2022 09:28:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1392469AbiEFN2c (ORCPT ); Fri, 6 May 2022 09:28:32 -0400 Received: from mout.perfora.net (mout.perfora.net [74.208.4.194]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11C396972A; Fri, 6 May 2022 06:24:49 -0700 (PDT) Received: from toolbox.int.toradex.com ([81.221.85.15]) by mrelay.perfora.net (mreueus003 [74.208.5.2]) with ESMTPSA (Nemesis) id 0MNJ6d-1nkW2F4BbN-006xDu; Fri, 06 May 2022 15:24:35 +0200 From: Marcel Ziswiler To: linux-arm-kernel@lists.infradead.org Cc: Philippe Schenker , Denys Drozdov , Marcel Ziswiler , Fabio Estevam , Frank Rowand , Krzysztof Kozlowski , NXP Linux Team , Pengutronix Kernel Team , Rob Herring , Russell King , Sascha Hauer , Shawn Guo , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 03/13] ARM: dts: imx6ull-colibri: add phy-supply to fec Date: Fri, 6 May 2022 15:24:06 +0200 Message-Id: <20220506132416.273965-4-marcel@ziswiler.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220506132416.273965-1-marcel@ziswiler.com> References: <20220506132416.273965-1-marcel@ziswiler.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:i+gg0Q5Yg19uEoOY40WleSYcCbwOC5ehyKae/LZurq0GtKO8R7N RK+MNbyfcrWTOnHLmmvtC4nmsW65lXkPWa/xSApKZly/5N+vwM+MWnWD2kaVdXvg82No77X /Dq4ngQYy3VTSuy3oLVNrg3T5fU9YgH0l1/xAoisnTRm1nwtcK5H8ESnneuc65piP90mnIX Xf65JUYmChUr0JoSWeKbQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:YPzXNKuG/3c=:/X3uR9GCNWIyrIRw5RBvQU UP2kcPlYBpas9PDKcJynfsO6oRi+MWco2hwpUP54LzxCLBeXeeO5mmj2WKNtpkt9QRCJYx1VJ aIgQoLAJK/HOicpTcJoKFi+KDm4684EexEnjDC1Jc1Nx5p5y4IZ/2S+PTzK+Z13Rrv/zO5THT FaWz1HHkYSGyJ1SaFw9tcE80A+YRrNe1H0FzS6A57itJx04XCWr2riyQ278l4YDpdZLfOuqlR cmM/qSM2ENavPhvVWbJS4n/TDsgePak3f7nAvBhM+QGV/WjsX2cWuCrazv8s1r+hQYnsY2LI0 lTwt84Rayi4Iw+fR6DGHi805Rp7AZfpvi0EbqMr+WQQp0IkyDTJz1DzyuQqNBmSk8LENZGScj 1WYme0FyGIT3V1XimwXkLn7QS6qcwmmelUCszvvKdTza4uxmGpQMxj/vrbac6pNvimGFr2oXO lLGuJx8dXDkYQCU16o3CBib5j0jwWRfqFeF7rGb9WDj0pyScyNRRBbbFzxuLuFZb/M6BqggUH kacZ4IY3ySJ2J66dfESyZq4H+NkX/4TPsE0DUhCJoyWufJnHw/wwNB6+aVNbhy7L0FZxVqqp2 QiCXtMl83sgiilIGiWmI9KkJitthpQemGnbm0NnP8Y+i/7574/wLHPVnOC0pltYr2hqslOwWK DFv2kgm5b9Zmpl9+ESOhalNMPZESC1thEgMmMLu7fzosj5nbwVcRRhn0WjKBR0BZI7mE= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, 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 From: Philippe Schenker This adds the proper phy-supply to the FEC. This supply is actually switched by a clock that is now properly stated. This has the advantage to add a delay for that particular regulator which is needed. Signed-off-by: Philippe Schenker Signed-off-by: Denys Drozdov Signed-off-by: Marcel Ziswiler --- (no changes since v1) arch/arm/boot/dts/imx6ull-colibri.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/imx6ull-colibri.dtsi b/arch/arm/boot/dts/imx6ull-colibri.dtsi index dc947035495b..7cd912df5d19 100644 --- a/arch/arm/boot/dts/imx6ull-colibri.dtsi +++ b/arch/arm/boot/dts/imx6ull-colibri.dtsi @@ -47,6 +47,18 @@ reg_sd1_vmmc: regulator-sd1-vmmc { states = <1800000 0x1 3300000 0x0>; vin-supply = <®_module_3v3>; }; + + reg_eth_phy: regulator-eth-phy { + compatible = "regulator-fixed-clock"; + regulator-boot-on; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-name = "+V3.3_ETH"; + regulator-type = "voltage"; + vin-supply = <®_module_3v3>; + clocks = <&clks IMX6UL_CLK_ENET2_REF_125M>; + startup-delay-us = <150000>; + }; }; &adc1 { @@ -81,6 +93,7 @@ &fec2 { pinctrl-1 = <&pinctrl_enet2_sleep>; phy-mode = "rmii"; phy-handle = <ðphy1>; + phy-supply = <®_eth_phy>; status = "okay"; mdio { -- 2.35.1