Received: by 2002:ac0:8845:0:0:0:0:0 with SMTP id g63csp732348img; Thu, 28 Feb 2019 07:03:38 -0800 (PST) X-Google-Smtp-Source: AHgI3Ia6RJnmeeGZKsXDCUrFTJ1vVVp2pfn65d+3Hfi0HmYShqRkuXpkGDkHBo5Dtrvi+rcZSl1/ X-Received: by 2002:a63:74e:: with SMTP id 75mr8860198pgh.374.1551366218202; Thu, 28 Feb 2019 07:03:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551366218; cv=none; d=google.com; s=arc-20160816; b=eCQhuIr0S7xsr7cSoXwfaNV0+Z0I20MPvzv2uRZW34qPgpsC00VYdoM90yjRFVlwp+ zg/t+fRHaHqlKQdvZ1csHj+NIi9pibhIIXHVGyPD8NGaru8rqqyV/n6wxPnT7kJB4Q+v m0nn4fJEAEpQsRLhSAAQfQ8SYFnsvVRatOuewhmgIH5n1zSISN42zj8F30pZ0BHxrlL7 YANOcglaP3f33D3bfGmwRHkngbd8Qk5rhsSCYuMaNHGx3S9uIhmZOJ4d5tb8JyYrZ2UP wZPn1PNs+5ZxFFUhAR/8Vm96OjLIQFAe/7OkeaAti7d52l+NNQpz23Qwr7FLF36hUAI2 F8Sg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=JRM8KH7Nuhqzfndhj0MuyCRXliCrZJ9wF+6M4j529zc=; b=df7+2ck4mTYIAGL1/JkvGhbDk6I8LgUlpxym1ZWgWdgXMCDKoHL0Aq+YsYTE8VkUBE St+NC/ItaProUoPOfda7TjY/q9FJWjFLU3oDzYgEBKj1WAJb9mSf102SCGJH2e0axpMP RjbgmvhvdrsRRB6g0H7fph0VAQytWrjXLvUzXyV+ckK7UbnZIypXvH6BwEVEySehGYiQ +yOdBHh4SHGHeSM7MERml7BPebPv6cey5A4FGJxArRMit/6QRkXcWr02D63t00cl5jJ7 7+lU9bYPtxjJI2F2XoNiPT6qVD4YmHXWylvVly/3Cfv41Iszd3QFkYfM9lWfT1cZMtNJ mXDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=Gjk1q8c2; 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=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i71si7312087pge.378.2019.02.28.07.03.21; Thu, 28 Feb 2019 07:03:38 -0800 (PST) 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=@nxp.com header.s=selector1 header.b=Gjk1q8c2; 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=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731848AbfB1O3V (ORCPT + 99 others); Thu, 28 Feb 2019 09:29:21 -0500 Received: from mail-eopbgr50055.outbound.protection.outlook.com ([40.107.5.55]:47478 "EHLO EUR03-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727874AbfB1O3U (ORCPT ); Thu, 28 Feb 2019 09:29:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JRM8KH7Nuhqzfndhj0MuyCRXliCrZJ9wF+6M4j529zc=; b=Gjk1q8c2UsVwEYjPBILoRbBqmRTS2FqaPeoh/MHns6H0+VD1ltKJCE8HZOnH0nIKbCEGXtVh7zOEa0tIlVZEWjhASEpH8+VV2TyamQTs0RgeuciBhxDVaWyAq5adw9ISs8DrknbYkKlHe2bgHL7uqW5Gwc3JTO0O8qojlI6GCkc= Received: from AM0PR04MB5779.eurprd04.prod.outlook.com (20.178.202.151) by AM0PR04MB4675.eurprd04.prod.outlook.com (52.135.144.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1643.21; Thu, 28 Feb 2019 14:29:16 +0000 Received: from AM0PR04MB5779.eurprd04.prod.outlook.com ([fe80::ec4e:4756:a9dc:914c]) by AM0PR04MB5779.eurprd04.prod.outlook.com ([fe80::ec4e:4756:a9dc:914c%3]) with mapi id 15.20.1643.022; Thu, 28 Feb 2019 14:29:16 +0000 From: Abel Vesa To: Shawn Guo CC: Rob Herring , Mark Rutland , Sascha Hauer , Lucas Stach , Angus Ainslie , "devicetree@vger.kernel.org" , Anson Huang , Linux Kernel Mailing List , dl-linux-imx , Fabio Estevam , "linux-arm-kernel@lists.infradead.org" Subject: Re: [PATCH v2 2/3] arm64: dts: imx8mq: Add the buck vdd_arm regulator Thread-Topic: [PATCH v2 2/3] arm64: dts: imx8mq: Add the buck vdd_arm regulator Thread-Index: AQHUxVlMid01fUo1802jjVCZ5QXkdqX1VX8AgAADxIA= Date: Thu, 28 Feb 2019 14:29:16 +0000 Message-ID: <20190228142915.l76oaxyjrsosoh7x@fsr-ub1664-175> References: <1550254032-16451-1-git-send-email-abel.vesa@nxp.com> <1550254032-16451-3-git-send-email-abel.vesa@nxp.com> <20190228141543.GA29231@dragon> In-Reply-To: <20190228141543.GA29231@dragon> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=abel.vesa@nxp.com; x-originating-ip: [95.76.156.53] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: bf48f40f-a0cb-4883-23a0-08d69d891e27 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020);SRVR:AM0PR04MB4675; x-ms-traffictypediagnostic: AM0PR04MB4675: x-ms-exchange-purlcount: 1 x-ld-processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr x-microsoft-exchange-diagnostics: =?us-ascii?Q?1;AM0PR04MB4675;23:TLPYa6NF5d04MEyqDmuIKSXKiKGEXeYU0f8dMJRUN?= =?us-ascii?Q?f0+12Qaikz0xX47VyAkvtwOXTXiJiaMyx1roFEwM70u1r/gryjTziMdhpDlS?= =?us-ascii?Q?6VWS3BO2b1+7gZa+LE8V4CU5knJIsktIqUBdvHIej8yx51yElFnOVgK4zksC?= =?us-ascii?Q?rq49Zlm9y7naFakMie5X8X+rqQu99V7IAMjVRYmG7CYDghMkJ8JzuDztzdET?= =?us-ascii?Q?I+QpbxHA9ACZ9bTqdndtnx1d8Z/tvOAGQtGU/N6YsVzf1otHlrx+C6xjXWqU?= =?us-ascii?Q?AnzdGD3ukibaBNVpjtxEWemvLe48l9Iqiv1jpEuB5Z2qULpSac66P03nb/cv?= =?us-ascii?Q?FRArYH+UPRhCb2BomoDITn8aD1Ih3aJumrrcWvRgorfq2tumii0qyF0KhL67?= =?us-ascii?Q?ue9oVZEZRfC/Ff4CvXn4Pn22Znv+4/9YDwXqTp/GTfnhQZzUcorWqfGYc7c6?= =?us-ascii?Q?HOwNumW+S1oRC5955WPhSagsIz51+19xBWi/5+VyqEYgylu+lL/rtGQ7B5xZ?= =?us-ascii?Q?WSuOHd+rXbikWWU7ZwVEPR0uFBbEesVqR0SxhuKBCBopgrLMBZlvLTWmSF1B?= =?us-ascii?Q?F5nYnuqgTOXjiLDlJlxy6l3n5L2Yqgh4gpYsEbQEU+jVEi4ts31Dsp+4vScZ?= =?us-ascii?Q?aH8jI/RCcRHT758ycV/jts7hReg7j7SP6XMovbsiX4qELgjL22IgqGWxDXlm?= =?us-ascii?Q?/E5/QOyzhHfdJnZAjpiEFyu//wqTUfZhR2cXYFBPkX8uwFQrvng0aEsg1ehC?= =?us-ascii?Q?J/4/8PYoA6KBj5h3Avn5Xg9u73j5gnN+tYlrJi7nCUa3Gf2yYhbpw0lNMUM1?= =?us-ascii?Q?/xSr+KEExkhLffs2c5Y3tVgJgYNRNFJzpRu1n7yPeTLMWWgl7Reh+AO9k+qT?= =?us-ascii?Q?JWtU9n7l3qE2twvT4mWxraQEnY4BNOupPHfpdGOSbBCEVdPm+dHZzXGNHUjr?= =?us-ascii?Q?IF25Ji1hvdeFk0ypoHzilNH34yY41uM9n+kDVEeLxurPeqZowqMGQpVjKdEe?= =?us-ascii?Q?aG0/Cx/qSizDJtWB0jOgSck7TlQ0kuzD21aJKpl7PE2s0ZtgTZ0UwVsFkvZK?= =?us-ascii?Q?djqinoZIl84viGY1NidTHvEfLT06QbE7zfKgSboAnsAuv4dHgYreJq+WNPKX?= =?us-ascii?Q?mCwQWtZsUaAEoWg/ag6KC3zEdnz23qg0L0+4fzxkr5mZSRiSLEXEE1CZ/Iyi?= =?us-ascii?Q?sDtiG2WeJLkNcUIvY3fjuJIgQTb+9IF6Mp8/vzQoNspaD9peqfBIbpjcTvky?= =?us-ascii?Q?Sbp3BxV4fG8jQ1p3W7qHJYw2zQe7bNdLRCKU2I20mfIG8koSQbyx1nmrzBtu?= =?us-ascii?Q?Ek19fOPfUlZ+YudEC5nljNXoVVA03QFyG6Z3IL2ZJxw9NQ/dsFC7e7H1Xj70?= =?us-ascii?Q?jnPxFBKpNxMlJGvL0xNKiFWwtwVkpHN8hasQR0mn8pCQebu?= x-microsoft-antispam-prvs: x-forefront-prvs: 0962D394D2 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(7916004)(376002)(366004)(346002)(136003)(396003)(39860400002)(199004)(189003)(316002)(97736004)(76176011)(6506007)(53546011)(486006)(6246003)(102836004)(54906003)(106356001)(99286004)(14454004)(229853002)(6486002)(44832011)(2906002)(105586002)(476003)(9686003)(6306002)(53936002)(6512007)(8676002)(6436002)(11346002)(45080400002)(25786009)(6116002)(66066001)(186003)(966005)(4326008)(81166006)(81156014)(5660300002)(86362001)(446003)(26005)(33716001)(256004)(6916009)(3846002)(7736002)(478600001)(1076003)(305945005)(8936002)(71190400001)(68736007)(71200400001)(21314003)(32563001)(473944003)(414714003);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR04MB4675;H:AM0PR04MB5779.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: XjRlRUoMNrHTjPfGU9WYCXIEtdaFuO2Faan92iiWsI5dknX+uBCKNk3/CNjo3fMLT/ImtGgvqrPXYFcLhjcDyM7zaKep0NbgQksnVoTWYadztZgwaXnCpFPtnlMwVm1L3g3ZtWdv1eCg4rp7tP3yxHsALlAEkfa3D1wt3v7XN0d/hVI3+0ak2m37dUu0PvAFZswIuAgIH7cyQEDAAmFfXTUkOj5QIvRidUNcng+4nxXIuNsPJEstq4moz+5yACDuzgeKAPv9mh0xdPf+4+uodR9aAawDpHbkE9LaoRNDAt80M1/eZsOb6VKrQ7elayh6depqTwFR1NJZt5XOzSDAHOqBfOCQmC4yGK2Wqa7LwRx0c3xQK1UJlEHW0CjJ7TlrUGtSzKhlKAE+tSnjQLuwCL/TP4UY/JwC5sdb1bkrDQQ= Content-Type: text/plain; charset="us-ascii" Content-ID: <4E1545967CACDF48A213374551BB4ED4@eurprd04.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: bf48f40f-a0cb-4883-23a0-08d69d891e27 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Feb 2019 14:29:16.0284 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB4675 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 19-02-28 22:15:46, Shawn Guo wrote: > On Fri, Feb 15, 2019 at 06:07:23PM +0000, Abel Vesa wrote: > > According to the schematics, this is a MP2147 switch converter > > which is controlled by GPIO1_IO13. When set the gpio is set to > > high the regulator output is set to 0.9V. When the gpio is set > > to low the regulator output is set to 1V. > >=20 > > Signed-off-by: Abel Vesa > > --- > > arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 36 ++++++++++++++++++++= ++++++++ > > 1 file changed, 36 insertions(+) > >=20 > > diff --git a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts b/arch/arm64/= boot/dts/freescale/imx8mq-evk.dts > > index 54737bf..e5da3dd 100644 > > --- a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts > > +++ b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts > > @@ -31,6 +31,35 @@ > > gpio =3D <&gpio2 19 GPIO_ACTIVE_HIGH>; > > enable-active-high; > > }; > > + > > + buck2_reg: buck2 { >=20 > Please follow regulator-xxx naming convention. >=20 Will do. > > + pinctrl-names =3D "default"; > > + pinctrl-0 =3D <&pinctrl_buck2>; > > + compatible =3D "regulator-gpio"; > > + regulator-name =3D "vdd_arm"; > > + regulator-min-microvolt =3D <900000>; > > + regulator-max-microvolt =3D <1000000>; > > + gpios =3D <&gpio1 13 GPIO_ACTIVE_HIGH>; > > + states =3D <1000000 0x0 > > + 900000 0x1>; > > + enable-active-high; >=20 > The property only makes sense when enable-gpio is present? >=20 Will remove it. > Shawn >=20 > > + }; > > +}; > > + > > +&A53_0 { > > + cpu-supply =3D <&buck2_reg>; > > +}; > > + > > +&A53_1 { > > + cpu-supply =3D <&buck2_reg>; > > +}; > > + > > +&A53_2 { > > + cpu-supply =3D <&buck2_reg>; > > +}; > > + > > +&A53_3 { > > + cpu-supply =3D <&buck2_reg>; > > }; > > =20 > > &fec1 { > > @@ -203,6 +232,13 @@ > > }; > > =20 > > &iomuxc { > > + pinctrl_buck2: vddarmgrp { > > + fsl,pins =3D < > > + MX8MQ_IOMUXC_GPIO1_IO13_GPIO1_IO13 0x19 > > + >; > > + > > + }; > > + > > pinctrl_fec1: fec1grp { > > fsl,pins =3D < > > MX8MQ_IOMUXC_ENET_MDC_ENET1_MDC 0x3 > > --=20 > > 2.7.4 > >=20 > >=20 > > _______________________________________________ > > linux-arm-kernel mailing list > > linux-arm-kernel@lists.infradead.org > > https://emea01.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F%2Flis= ts.infradead.org%2Fmailman%2Flistinfo%2Flinux-arm-kernel&data=3D02%7C01= %7Cabel.vesa%40nxp.com%7C7f571130a0114fb84fe408d69d87606f%7C686ea1d3bc2b4c6= fa92cd99c5c301635%7C0%7C0%7C636869602101094479&sdata=3DvsNlfbgqglUuVsFy= ULjTMm5Hqwd6chpsVa0V05ugDG0%3D&reserved=3D0=