Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1146743ybk; Wed, 20 May 2020 23:10:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxDeLdxEgp+jklP7Yop0cyVIWBgA2ulKVSLlYv0nAEcLEcGYrIKExcn0nKUxMWfcxqTD6or X-Received: by 2002:a17:906:7a4f:: with SMTP id i15mr2195583ejo.71.1590041422317; Wed, 20 May 2020 23:10:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1590041422; cv=pass; d=google.com; s=arc-20160816; b=cnbOgIzCocQmGCAj3Xgu3Il2oOYcItD3V+xTWAgpIJ7SH7KKfQLSJ3jKtY0v5SxRzo 8PmFHP/qP6eNe0hY56WrCajEZIXJ775fRvOf7IVu9CKfOCjwAKcOTV4fGQd7UsK/BENW 3Y4DfCZRPaLnGQJjz8fTx1CRR3MSq8jvcYxaiRt0tMwL+bWSgJL7Rv8Eu/sHtKMaVJtS TE17wv7xeVkNp/ig/udXbtI/heK4TXcRjbxji89NY5jm2+PuVomf9mBWIOilsfOMxdEd AcxGAoDoQMmnb6v+A6BnLN749WxvNos01TrFKO7IY63ciCuSqlKtcySZVneEyciggwgp Z0sQ== 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=rt0bYkqArHOat4epzHl3QBbnf5JyzoI57EDOAw8wK9o=; b=AsIDrUDsiveQTekChuo9RsEQ0jXbOPlM4+KoSCnQ+sWeFB7mQUSAw3NNjikTwPevV4 4jyeiPz3UF6quTvreH0uQqoIbp8jgHacUe51sCwK9YPjx0bscavN3gsTGhZJ4RCHHSjT PrkKk4ZNyqiwOYFS2PXypalh6mDIU0CI6EsQLkYTkW4/GhA94AqD7BNcKBNVwzc7/ET9 Gyg1Sr8SeWXIDHe4uKC0YqDMqtshSAEUVqTljhL4bApQs68JSJ8PiVPwmEaeQpybWwbN H3SeKDOIVslGCIuuBkdTT4xR+M3OZoJbod7+D4a+1MSgstvIkXRAgG2N57Otv99rtiB+ x1dg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=eVUSjKof; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id b3si2721170ejg.700.2020.05.20.23.09.59; Wed, 20 May 2020 23:10:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=eVUSjKof; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1728235AbgEUGFU (ORCPT + 99 others); Thu, 21 May 2020 02:05:20 -0400 Received: from mail-eopbgr140054.outbound.protection.outlook.com ([40.107.14.54]:62114 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727782AbgEUGFU (ORCPT ); Thu, 21 May 2020 02:05:20 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=M7THmxLeSToxqUflwwigA7x0nITNzhnETE/THP2E4nHjkM2HfrJQyjCxbD4YpmRnrvGExs4NvAEqYGeXopU5Z9X+ua3U5f9ZOniNTTPpfvyR8sZVeUYIC2x+bCvOXZXIRA3lJfzN9sCqH6x13P35WWmlM1H51jRFaTnjpiDx8SfLQS6NmUJFDQBm4HsLPmTgFZv9KhBPCweippypC9lwMs3fdAe9j44GEAoQvXcfmk/flfU5QA5HXjwCvGxo4UN4X6Uy7af3a2wQosHWOOUlY79XcaXrPhXkiEfhqSenjyvHGSXiQ8TkqVKTyhgtrw/AH2LckbHTu04FVpNeuNFKcA== 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=rt0bYkqArHOat4epzHl3QBbnf5JyzoI57EDOAw8wK9o=; b=iy9n2LZPev6FT+0GoR6wQWXjiyJYGPZ+k0IH5FpuL52c9iEaGPJCPj9MnzcSlVLNuAimkE0Y/wUf1Sus9GYUuQjnT7Yk8949Wgngx/27s0aQv14o1ZoDc1o3/iNfWBjWVDae7GVXexEQzePfWCZbzx+gBKAulnoMps0u+CmjiiCTg3/SR4rvC22pmLfTiGhYXemPs5LR6g9zz2f9EHNJ0j7SfC5W0dzcUw8/5GFuXy6L8HRRbHlNt4sE3z1meJ11AmMbySOLhMOaLYcjaU4nS7oBsxNPgjWRtn+NXeRYZI2005U299IFou7QAxJM9F+X/Pw8NlQXlQXWoCpq44Vm4g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rt0bYkqArHOat4epzHl3QBbnf5JyzoI57EDOAw8wK9o=; b=eVUSjKof/Rir1Tbtmz8iaI8t9Le+n6M2AuHAGq4ONPZj28588v4qNqx6/m7qrqtTkpwfnupMn8QAsE56HkZeigBOoZjvW2XHHdZzoz2RGsiOmvd/Nc5bD6iwc78NbKF0Ur2ZN65T6s8yYR0nreiue6iTku8fGSxDUrdQ0djUv9E= Received: from VE1PR04MB6638.eurprd04.prod.outlook.com (2603:10a6:803:119::15) by VE1PR04MB6702.eurprd04.prod.outlook.com (2603:10a6:803:123::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3021.23; Thu, 21 May 2020 06:05:14 +0000 Received: from VE1PR04MB6638.eurprd04.prod.outlook.com ([fe80::5cc4:23a5:ca17:da7d]) by VE1PR04MB6638.eurprd04.prod.outlook.com ([fe80::5cc4:23a5:ca17:da7d%6]) with mapi id 15.20.3021.020; Thu, 21 May 2020 06:05:14 +0000 From: Robin Gong To: Peng Fan , "robh+dt@kernel.org" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "festevam@gmail.com" , Anson Huang CC: "kernel@pengutronix.de" , dl-linux-imx , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH v1 2/2] arm64: dts: imx8mn-ddr4-evk: correct ldo1/ldo2 voltage range Thread-Topic: [PATCH v1 2/2] arm64: dts: imx8mn-ddr4-evk: correct ldo1/ldo2 voltage range Thread-Index: AQHWLx+OOjBI45o49kK5ywpfqow5U6iyDIwAgAAAQSA= Date: Thu, 21 May 2020 06:05:14 +0000 Message-ID: References: <1590060368-2282-1-git-send-email-yibin.gong@nxp.com> <1590060368-2282-2-git-send-email-yibin.gong@nxp.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=none action=none header.from=nxp.com; x-originating-ip: [119.31.174.66] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: b4bcea7c-16f4-442f-ca9f-08d7fd4cedb7 x-ms-traffictypediagnostic: VE1PR04MB6702: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-forefront-prvs: 041032FF37 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 5W6zLY/cUfXyoc2e0AnsLAOuaxPNzIFbXj8bf6FhVr7MXrFJ6oi99nMLrDZqxPdpgJVsj1qKbGeIZjfWlJTeFg7Ob7xL/IHndD7Np5z6VZf/sjws15noX5R1ghmqITWxo9TIHVzBUkQhbLGtY3Fm/TvBLmgJhMUDu0j4Oo6frF3lSnzCOO7spAlBHvsvUeYw0qnkjW7tF50SUeyUN4eul0u1O0ZjTwcKE9B0d9qffmGAY/KMJYfyJLxp5PV+I+6NMgjit5FmFHNmWCRt6ndQVaObJNbrFbn8SJZWTp6Kf60qB7gREr59ySekhKJySXstCG9JGBo2xMEaEKtjbn3x7LKajzO9lIPg213WnX4O6bk+uAWMkqwsey0cZ2lcG75E x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VE1PR04MB6638.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(4636009)(396003)(376002)(346002)(366004)(39860400002)(136003)(6506007)(52536014)(5660300002)(186003)(316002)(4326008)(2906002)(26005)(33656002)(8936002)(478600001)(71200400001)(55016002)(66446008)(9686003)(66556008)(64756008)(110136005)(66946007)(66476007)(6636002)(76116006)(86362001)(54906003)(7696005)(8676002)(32563001);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: N6sHiRdSrFG1H7y+tasMmUkQ/HG4Yd/t/8aOwlNmI/YfFT7e4yi9yxQxcwvySoVrv2J/uLIYNt057mH8NXgq0kHTfK+9pYYPTwCRs3z1RdQh7t4iYN4ZYJhGgIqTPlwg7Acyle6S+eqyl6Yp6cvrp6LyoAZ0LNz3Cbm8OJbQeGGwKZukY6LzE7yg3e16zbH+XCEyJD8Ase77Nwm+92P6MhQHIi+tJkqMl3bp3pQ/PFZYGIYFRx57C7A6y7lrynCyA0+CqmsFkQWtDyQAiz5IiUuJnH4ON3/TD62xdOb+LvNhgpzlfT9meqxzk4CHY3hyWRCug7IXWOb4ZK5K1jojBXmq5tPWq9kFRyN2WrQ/eKY4AnolYEkzcSc37sBOVdolLxf1DiyADztuMhg1BxCE5862PIM4GYMLW8o6fkwRF+3XNgJrV7ju276/Ac7dylZKDK/+R6M1xd6I2W4IF4KM5pA0TYiKk5zs49MZUHrcmL8eMDTZUQXrFGJwUmNiJGAU Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b4bcea7c-16f4-442f-ca9f-08d7fd4cedb7 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 May 2020 06:05:14.2702 (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-CrossTenant-userprincipalname: grDviiXfr0x2PLp5q3t42powe7YU29FcyKyh5i3nQW2gEUU7D2jFPFO1alPw98CVJg/E3sXeFnuhJgnLUmtZDg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB6702 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2020/05/21 14:02 Peng Fan wrote: > > Subject: [PATCH v1 2/2] arm64: dts: imx8mn-ddr4-evk: correct ldo1/ldo2 > > voltage range > > > > Correct ldo1 voltage range from wrong high group(3.0v~3.3v) to low > > group > > (1.6v~1.9v) because the ldo1 should be 1.8v. Actually, two voltage > > groups have been supported at bd718x7-regulator driver, hence, just > > corrrect the voltage range to 1.6v~3.3v. For ldo2@0.8v, correct voltage= range > too. > > Otherwise, ldo1 would be kept @3.0v and ldo2@0.9v which violate > > i.mx8mm datasheet as the below warning log in kernel: > > > > [ 0.995524] LDO1: Bringing 1800000uV into 3000000-3000000uV > > [ 0.999196] LDO2: Bringing 800000uV into 900000-900000uV > > > > Signed-off-by: Robin Gong > > --- > > arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts | 4 ++-- > > arch/arm64/boot/dts/freescale/imx8mn-evk.dts | 9 +++++++++ > > 2 files changed, 11 insertions(+), 2 deletions(-) > > > > diff --git a/arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts > > b/arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts > > index d07e0e6..a1e5483 100644 > > --- a/arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts > > +++ b/arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts > > @@ -113,7 +113,7 @@ > > > > ldo1_reg: LDO1 { > > regulator-name =3D "LDO1"; > > - regulator-min-microvolt =3D <3000000>; > > + regulator-min-microvolt =3D <1600000>; > > regulator-max-microvolt =3D <3300000>; > > regulator-boot-on; > > regulator-always-on; > > @@ -121,7 +121,7 @@ > > > > ldo2_reg: LDO2 { > > regulator-name =3D "LDO2"; > > - regulator-min-microvolt =3D <900000>; > > + regulator-min-microvolt =3D <800000>; > > regulator-max-microvolt =3D <900000>; > > regulator-boot-on; > > regulator-always-on; > > diff --git a/arch/arm64/boot/dts/freescale/imx8mn-evk.dts > > b/arch/arm64/boot/dts/freescale/imx8mn-evk.dts > > index 61f3519..117ff4b 100644 > > --- a/arch/arm64/boot/dts/freescale/imx8mn-evk.dts > > +++ b/arch/arm64/boot/dts/freescale/imx8mn-evk.dts > > @@ -13,6 +13,15 @@ > > compatible =3D "fsl,imx8mn-evk", "fsl,imx8mn"; }; > > > > +&ecspi1 { > > + status =3D "okay"; > > +spidev0: spi@0 { > > + compatible =3D "ge,achc"; > > + reg =3D <0>; > > + spi-max-frequency =3D <1000000>; > > + }; > > +}; > > + >=20 > This was added by mistake? Sorry, will send out v2.