Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1641188ybe; Tue, 3 Sep 2019 01:06:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqxJPvhxfwZbYQEnIFqQLR4urtoK3+dNkRxdS2Lm777Pk44jYWtk5E/aSS75Z+S5SOwtwAqB X-Received: by 2002:a17:902:a50a:: with SMTP id s10mr33661477plq.108.1567497961561; Tue, 03 Sep 2019 01:06:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1567497961; cv=pass; d=google.com; s=arc-20160816; b=t1ye/8ITr5zg5Ob3nXxPrzrQq4OuvJmrrfkKoET2cIdMBrwYRJ4Bz8uHMf1SzptzoX Yhl110n41HdfcJ2XcPGQXwQv8IqfkbcLohYUgKtOKRBZPVHfDklklgnmkgVfuyCjGIdb fPkcXwN1xxhC4+1wD+3xSfGgom1fgHZXxAkpzybW7GrgGcN86M34zSVzUV16U+ezgK7g /l+4j0Pyh06uHo8Qj11rlO/uOdZkU0piC84yxdQ6o05q5e69lnIjtUALlY3tVhO2ZEvF Jt4JqlwIusM1WyovopwZP1qvsu2IbCy65q8gg8YZQXzuB95RgrHjimoodkfj3lp/vEjD pcvA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=bEgRLsbzkLrfeBS5G4W+sYllsyyyYJOWE4eQFNNxvmc=; b=S0iyB4k9GWqZ7QVBQh647LIRXhmZ34y8V00a4NaPMLHl8GcoDCteuPnHVw+0a2XIos ZjtsMt8R/vaE+EG3MT8a+AmDwyBdXAOi5nN7yKWnbkzKSHUgI+3gydFWDNCjizTz26Tr WaJbfbdQyJyF5IbV8suCyNl/2we9yNlxZEnC5On+xKfLRht90u/oImwxKlXvr+nvk8ZU O+NHb/DHxDRzTvgxj8aWgsKSH6xFm5RarCqECp+SfwRRhMufCMjfoJUiOy5uadS+R88u WSgmeV/PpjRtR81ieBKIkqzMlJ7Cg0jT2frZFGHg7tW2L4rDHdaVFI6xHAUkGHKX4DNA E7Ag== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@toradex.com header.s=selector2 header.b=IScayxGl; arc=pass (i=1 spf=pass spfdomain=toradex.com dkim=pass dkdomain=toradex.com dmarc=pass fromdomain=toradex.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=toradex.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u2si13664044pgr.284.2019.09.03.01.05.45; Tue, 03 Sep 2019 01:06:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@toradex.com header.s=selector2 header.b=IScayxGl; arc=pass (i=1 spf=pass spfdomain=toradex.com dkim=pass dkdomain=toradex.com dmarc=pass fromdomain=toradex.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=toradex.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728288AbfICIEH (ORCPT + 99 others); Tue, 3 Sep 2019 04:04:07 -0400 Received: from mail-eopbgr80139.outbound.protection.outlook.com ([40.107.8.139]:43751 "EHLO EUR04-VI1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725878AbfICID4 (ORCPT ); Tue, 3 Sep 2019 04:03:56 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ktkq4MTcTcmhWLAQk4KIdlFm56mXXrQOximKDx24sO2Km851bAZEk7bjysBsToLAcjPjcBOIlflnWqy31h/bCVA012T468J5/b9o/sbHa3JS6pje1QOFdr3c4KwNEolGv20ZRMdLtNHTLInW0BPct7KpQnM+Ph+Mai5poFKkGcZIyWkma7wOCeO8M6hG5QG9/f0NlfKwCQboUYPQqWpeOLxxb6porGBOreBPjpzi/HpM0zwwWpvSM16vyYjwVERZIVuG1ZBJ6wwikgnzNZ75RS/QpivULeJfiCzjcZgfbRqRXuOr0E7JFboSFoVGNLUP6wC+ZIjqMsPaInCShcSHhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=bEgRLsbzkLrfeBS5G4W+sYllsyyyYJOWE4eQFNNxvmc=; b=MigaTzJCO6t1w7lk/6oKytfx8hpJqzJGieOpwPB4m01SSge7KKhhy40YqkI0OQWfpgjanS5UFboEL1o8rG2UI3Ch0N3DfpdVFMMttHxeDBb5r8Tl4fLeuT8Ywx94FvwLURIeCI/WzMpgrWUsfTIfQVMiGLO0i+S0BwgtI1DsVCN8EO0FT8QnxSlVtKUHKtaLDdGq6c2wYiB1c9GzvIgTdUlW/cNw+E1xowehxrFvzZZ0HTNwuHFZjd1WpiwfAT7CvlB60IhD495fd3TiwlkUvSWq+Q2gRNK8X/dtb5j/iegCbDT+0GIHtq2o1N+RzFN8Rd0SvO3pKaKJ63cWKMthaQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=toradex.com; dmarc=pass action=none header.from=toradex.com; dkim=pass header.d=toradex.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toradex.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=bEgRLsbzkLrfeBS5G4W+sYllsyyyYJOWE4eQFNNxvmc=; b=IScayxGl/DbgfJ9BhMXAWEKpd/aQlKpqYF6enrnORFS2DHlGrdXNCHXN1FRCNSSHnBJ33kYOojwI1y4EUvTAV66dRcjc4xBMqHRQCCX9SUq9orXx0HM7Wi6v6e+bNkVWtwXn3ChPQkx5dSXq1II4RAP43eEy8LJZCFWWK4Lzjwk= Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com (52.134.17.157) by VI1PR0502MB4014.eurprd05.prod.outlook.com (52.134.18.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2220.19; Tue, 3 Sep 2019 08:03:48 +0000 Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::f59f:a307:9c53:63b9]) by VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::f59f:a307:9c53:63b9%6]) with mapi id 15.20.2220.022; Tue, 3 Sep 2019 08:03:48 +0000 From: Philippe Schenker To: "linux-kernel@vger.kernel.org" , Mark Brown , Shawn Guo , Sascha Hauer , Liam Girdwood CC: "devicetree@vger.kernel.org" , Max Krummenacher , Rob Herring , Stefan Agner , Marcel Ziswiler , Mark Rutland , Luka Pivk , Philippe Schenker , Fabio Estevam , "linux-arm-kernel@lists.infradead.org" , Pengutronix Kernel Team , NXP Linux Team Subject: [PATCH 2/3] ARM: dts: imx6ull-colibri: add phy-supply and respective regulator Thread-Topic: [PATCH 2/3] ARM: dts: imx6ull-colibri: add phy-supply and respective regulator Thread-Index: AQHVYi4dgCofqQaHw0euB7fgm+76EA== Date: Tue, 3 Sep 2019 08:03:48 +0000 Message-ID: <20190903080336.32288-3-philippe.schenker@toradex.com> References: <20190903080336.32288-1-philippe.schenker@toradex.com> In-Reply-To: <20190903080336.32288-1-philippe.schenker@toradex.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1PR0802CA0015.eurprd08.prod.outlook.com (2603:10a6:800:aa::25) To VI1PR0502MB3965.eurprd05.prod.outlook.com (2603:10a6:803:23::29) authentication-results: spf=none (sender IP is ) smtp.mailfrom=philippe.schenker@toradex.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.23.0 x-originating-ip: [46.140.72.82] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 25618a1b-46c4-48f8-3152-08d730453feb x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(711020)(4605104)(1401327)(2017052603328)(7193020);SRVR:VI1PR0502MB4014; x-ms-traffictypediagnostic: VI1PR0502MB4014: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1079; x-forefront-prvs: 01494FA7F7 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(4636009)(39840400004)(376002)(346002)(136003)(396003)(366004)(199004)(189003)(6436002)(66066001)(81166006)(110136005)(54906003)(5660300002)(71200400001)(305945005)(2501003)(25786009)(476003)(81156014)(2616005)(44832011)(6512007)(66446008)(99286004)(66946007)(66556008)(186003)(64756008)(66476007)(26005)(6486002)(71190400001)(4326008)(53936002)(446003)(52116002)(486006)(102836004)(11346002)(1076003)(7416002)(6116002)(478600001)(86362001)(50226002)(14454004)(2906002)(36756003)(8936002)(76176011)(3846002)(6506007)(386003)(316002)(256004)(8676002)(7736002)(32563001);DIR:OUT;SFP:1102;SCL:1;SRVR:VI1PR0502MB4014;H:VI1PR0502MB3965.eurprd05.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: toradex.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: vGDY6ey//ua0XfWuOXEAIwabyuvQsJZ3+tqslkQlcHwPYdOAJ9Hu7NlA+e0jkhgOtObPfMOyWX5WCjjNhqDJC36QIhI2uGdAT4mA4inrsaO33EZAgZXFnNmE3yO3Z38WBRa89RYwVjiwy/BmAg+ncnKcvtsE1Uq0k84w/XKayzShhBLdm0Wlo9COBI/7srQ/0PzHCqc0CZqsxH96VLELZC6uoAVbcrQ8Rh7riGaRC3KF+qUjxmN2u+kFPwn5RNGqoz6AEo79Rnc+rRr41EEV9sNSLlKjf6eMOC8mRHEw4D4VX0WbEq7ecfn/mTAsM4pvFaTg37U6usDBoMOFJ8574pfgkeu/pptSJXSGYlswRWXk80lmWM6bogAsyz84kgAXyCqy4eX4JaPeA9ni3RgbQZbSZod3vz5WYUEvU1tVU9c= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: 25618a1b-46c4-48f8-3152-08d730453feb X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Sep 2019 08:03:48.1478 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: d9995866-0d9b-4251-8315-093f062abab4 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: NQ6RxuET5OLB/e5sh5KafK4gln9dnvRvDNP11PjR5rUSho9E5oM74I+CXQ7Au7keCkVkI7ra61dk/jaYOBE5HWEEjbOXw8oTn7/V1JC6nO8= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0502MB4014 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This adds regulator-fixed-clock, a fixed-regulator that turns on and off with a clock and add it to the phy. Signed-off-by: Philippe Schenker --- arch/arm/boot/dts/imx6ull-colibri.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/imx6ull-colibri.dtsi b/arch/arm/boot/dts/imx= 6ull-colibri.dtsi index d56728f03c35..76021b842a97 100644 --- a/arch/arm/boot/dts/imx6ull-colibri.dtsi +++ b/arch/arm/boot/dts/imx6ull-colibri.dtsi @@ -47,6 +47,17 @@ states =3D <1800000 0x1 3300000 0x0>; vin-supply =3D <®_module_3v3>; }; + + reg_eth_phy: regulator-eth-phy { + compatible =3D "regulator-fixed-clock"; + regulator-boot-on; + regulator-name =3D "eth_phy"; + regulator-min-microvolt =3D <3300000>; + regulator-max-microvolt =3D <3300000>; + clocks =3D <&clks IMX6UL_CLK_ENET2_REF_125M>; + startup-delay-us =3D <150000>; + vin-supply =3D <®_module_3v3>; + }; }; =20 &adc1 { @@ -66,6 +77,7 @@ pinctrl-0 =3D <&pinctrl_enet2>; phy-mode =3D "rmii"; phy-handle =3D <ðphy1>; + phy-supply =3D <®_eth_phy>; status =3D "okay"; =20 mdio { --=20 2.23.0