Received: by 2002:a05:6a10:5594:0:0:0:0 with SMTP id ee20csp560311pxb; Mon, 25 Apr 2022 16:34:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwcLRx3ZB93eEb6b7LZIx2x4W9jzd/Ns61XSlBLsLjhGHsWdtvEenII/7D4X5ExrnTsuk5x X-Received: by 2002:a05:6a00:130e:b0:4cc:3c7d:4dec with SMTP id j14-20020a056a00130e00b004cc3c7d4decmr21443128pfu.32.1650929648269; Mon, 25 Apr 2022 16:34:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650929648; cv=none; d=google.com; s=arc-20160816; b=DCnlJpcVObGlC6mTP92LbQCGJQNzM92R/69AgFbi5dVPIfhFjrYDt6z4bMLf2fZnax 86npu7VQ8FrADWH5yq9y7Xy9OhLDZFykeaUbNt2P0OEHVVYq5PL43GSuee7/8dvGMNlq m2XYfgelhR5OIJq/w/0m8qFJV2EouLQzAQYQZVflCdwjVwS/H+CnqCfgahPNCwn/shol Hmww/ZtKS6dwTgZfEPcT065L7cKH/x6tREcKernvFHnmVYr8NMCglxyvBN7HosvIk0Q8 PtILL7VhHmn81ultSbHVl4Z7UD7ZRfOkdefeaMYaGKCy8OgIFIOEBh145t8URP68Nu1v EOLA== 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=3/AAwGqmVJVl1LbE7wTR2I0iN8g7TWobXfdeTU0iObQ=; b=WB1kq0d20AVVfFcrsmc9BunBYHaFTEiowXDzYdcXsbY+Xx+ZCLqcyfd1qwylyOE+cv 7CjFltxxmW9nWDZABm9ot4RumwZEO/RknfwBgmvMFN8b4l0CgvDNim2zVaBEcj0arKlM m+T/CxnjwdBiOGINkv6QJGGu6XeagvIJey9O9Ejw2S070VBUbIS/mdhsROTthgZFNBZP rtyEvvnJ03V3DUpIllVzZpGYA0NYdUbWPLvuen/We7rJLF89ffVLim6v+Kb+CUZ2AjnF lEegxkjgw5kgfOiViR9iHcQeew12unRSH5XrjNU08DsH54UHE3xszE4u1oqXuPsRJwX1 2NAg== 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:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id me14-20020a17090b17ce00b001c6d5497bb9si709124pjb.28.2022.04.25.16.33.52; Mon, 25 Apr 2022 16:34:08 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243486AbiDYQ33 (ORCPT + 99 others); Mon, 25 Apr 2022 12:29:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37344 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243450AbiDYQ1c (ORCPT ); Mon, 25 Apr 2022 12:27:32 -0400 Received: from mout.perfora.net (mout.perfora.net [74.208.4.196]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 35EFC11F953; Mon, 25 Apr 2022 09:24:28 -0700 (PDT) Received: from toolbox.int.toradex.com ([81.221.85.15]) by mrelay.perfora.net (mreueus002 [74.208.5.2]) with ESMTPSA (Nemesis) id 0M5dpW-1o71br34iu-00xYXo; Mon, 25 Apr 2022 18:24:16 +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 v2 03/14] ARM: dts: imx6ull-colibri: add phy-supply to fec Date: Mon, 25 Apr 2022 18:23:45 +0200 Message-Id: <20220425162356.176665-4-marcel@ziswiler.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220425162356.176665-1-marcel@ziswiler.com> References: <20220425162356.176665-1-marcel@ziswiler.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:0+FdhGU/ntWSyzpR14rp2dCwoQdc4CNQ9T0hYVYyUUwi3KM+KpG exShnAs/Ds92DrnCQj9hmRrR3CY3VHg5D59Tn0fGbc0do/tbUZP9hScRYNVA9Z0kVD3WNct FiujCO8oh5T04QNabFA86wcpfTXRM58mkzyHAyWcER/2Ats2XSBcUXeb7LX5blokcD3ifmT ashJGylaG1yJzpz7Vdb3w== X-UI-Out-Filterresults: notjunk:1;V03:K0:xYLDPxswUR0=:cWdIX1HrKGoQCP4mL+ejXx IWVgTVNNsKu57P1t4tmxUKqH1T9s5K8kDGLaSjDHqVGgMpulZN5FHSLHtlzB5jsIIcPvXn7JJ QJEmUuPmL1XrjrEcp/8tW3UA9ICLq8mtaxMkcurBQHzRKLMzr4hrEvDtxsnY877/7zwCld7bS WLnysdB3x8YdJn8hyHhjlecNZ2r9mPZX9rYAeoxts5D5Z7S6kyByH5Ihs8tn7r4LDcwse6IRM s7RXd/GoKjBwDJQx/tdSbACL4eyEQbSmQjNS+OtUzjQtHlw7Mn+Oi2hjVLULrEwILDHOG934M UuZRaqXWhJJtgG6r6ksdjXq1LZ4ghrmU0+BbL3flxXbKzZTJqm1u7jPwoMvRvpVgGqRhjfShP 8ZcRfKrDHDWqRojRMofNgPVQUbPLqvmQKip3rg5fAfbWtnYZVGTTrHwtK2tPlJ+YXrYTKE2Yz Bj8Nka4iqFxf37KWxmp3ltRkiPcEpG8MnVs7z86xcSH9DFq5i7rwQsDNK4qYRhHw5Umxu5xaW cVq1urtJmBgnPiw2RKpi2IkWUiOeTCoK11OE1It6AV4vUlc2HYnEjMkEmkuAkPhJ6uHi/MzgI /gVipa6ywOGRjzM8rVVa5N++lJBiApjjGDb0gwHwDPQ+0fZ5ROLVhhSKN6yi+hMpls4l+/ycg YmBloNQv7aDS35YY65VtvDcNVjzZjKVUYz7pT1DoqstkT3toK/9ZM9Nowt/lIO78NSos= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_PASS,SPF_NONE 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 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 bea00cfaa820..e619da3b00b3 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