Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4010034yba; Sun, 12 May 2019 03:02:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqwaqXMNe3/dcKKChNVJOs7xXpkk7tJqnvXs+yVHvpuiM0Q6XluY1M5APonWZQYwxe6Rq+f5 X-Received: by 2002:a63:d816:: with SMTP id b22mr24705432pgh.16.1557655327678; Sun, 12 May 2019 03:02:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557655327; cv=none; d=google.com; s=arc-20160816; b=EvEKK5or9jExFWgCSRK8sDZRmuztNWaaDIfRPm2UU2ivhrzAtanrgw5Qqt3mMLYG01 tVYHeg4wzN2ViThkxdBTdSc1eNusep6WhzY0b1HeCmaY5eX+c2GjxdykNxS06rzXO86n AxzUht9aiNmCmKlUyi+bu/QY1QNCaeKnRVp7AU7JOh1+VwDTeMXyif2MuwTFyhp6ytel QESrd4k5VUwYsCD2E11pe/YN4RriyRYVvxhC7OWQxm32dZQlR56FxIurFipUaajcxO9J d4Bx6xG/moW1z9Bw9kpOz8Ymr54lBRLAqwfPRRWwZxkHFNNjhKk0UNWL9RWFiiyOky2h 59zA== 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=1j4GrkYJGJaCopq1Bo1ev25twfw3wAgPM2sF4jtB3CI=; b=GCjnV0jSGUiQ2DYklUBA91ijPsejHU9oHbJLtYIzjzqZGogYZkP39xI+WtNMrk9o91 /1RcoIbNSMANB/cD9l76PPluTG0qXCuH2kAtfV1fcGwakSQLaRBJm8pmGhQf6KfwwEJ8 bM2BH3rcRidSwuOSLa48b+Igm5JhS+S1Gp7YRsGes0hABqhjRLgPMQ69EP7no2Q7xRGr 7alFCWr/05XP+0VO5uEVHThF5hFqA/xjFbcWPDbQ1ah7fVMWN893ASlORx8R38+4Basw ni+AfRxacfZlmug5GVBssQoB/SMaDO4z87HG9esRG6Qf7BKuCK2kmjokUZVAwuLc3UW7 jqIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=rnAmc+ht; 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 ba5si12510994plb.24.2019.05.12.03.01.51; Sun, 12 May 2019 03:02:07 -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=@nxp.com header.s=selector2 header.b=rnAmc+ht; 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 S1726695AbfELJ5m (ORCPT + 99 others); Sun, 12 May 2019 05:57:42 -0400 Received: from mail-eopbgr130070.outbound.protection.outlook.com ([40.107.13.70]:21894 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726646AbfELJ5k (ORCPT ); Sun, 12 May 2019 05:57:40 -0400 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=1j4GrkYJGJaCopq1Bo1ev25twfw3wAgPM2sF4jtB3CI=; b=rnAmc+htGjLgAZRAIoyBiLYrG0Mk3T3APargPqwFKYlpCFxh7XWGrYlneKHXakDBZUBMYr5yQcTvpivva2YFIveWdlHBHL8PxfznxU6+HKm+pgZhKcfP6Gs/OT7G/X1rEPmSqEz3F1wcYg6aIYU1+UmRLHO+i6jMvIZqD3lt8lc= Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com (52.134.72.18) by DB3PR0402MB3899.eurprd04.prod.outlook.com (52.134.71.154) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1878.22; Sun, 12 May 2019 09:57:35 +0000 Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::d035:3bd0:a56a:189d]) by DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::d035:3bd0:a56a:189d%2]) with mapi id 15.20.1878.022; Sun, 12 May 2019 09:57:35 +0000 From: Anson Huang To: "robh+dt@kernel.org" , "mark.rutland@arm.com" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "festevam@gmail.com" , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" CC: dl-linux-imx Subject: [PATCH RESEND 5/5] ARM: dts: imx6sx-sdb: Assign corresponding power supply for LDOs Thread-Topic: [PATCH RESEND 5/5] ARM: dts: imx6sx-sdb: Assign corresponding power supply for LDOs Thread-Index: AQHVCKkf/aKba1UJM0u/ZHXguMTtHg== Date: Sun, 12 May 2019 09:57:35 +0000 Message-ID: <1557654739-12564-5-git-send-email-Anson.Huang@nxp.com> References: <1557654739-12564-1-git-send-email-Anson.Huang@nxp.com> In-Reply-To: <1557654739-12564-1-git-send-email-Anson.Huang@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.7.4 x-clientproxiedby: HK2PR0401CA0007.apcprd04.prod.outlook.com (2603:1096:202:2::17) To DB3PR0402MB3916.eurprd04.prod.outlook.com (2603:10a6:8:10::18) authentication-results: spf=none (sender IP is ) smtp.mailfrom=anson.huang@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [119.31.174.66] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 06ac86d9-d449-4ece-fc37-08d6d6c04235 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(4618075)(2017052603328)(7193020);SRVR:DB3PR0402MB3899; x-ms-traffictypediagnostic: DB3PR0402MB3899: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3044; x-forefront-prvs: 0035B15214 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(366004)(396003)(136003)(346002)(39860400002)(376002)(189003)(199004)(446003)(66476007)(66556008)(25786009)(486006)(66446008)(8676002)(11346002)(2616005)(476003)(73956011)(4326008)(14454004)(64756008)(8936002)(50226002)(66946007)(6512007)(53936002)(2201001)(7736002)(26005)(102836004)(71190400001)(86362001)(71200400001)(6506007)(478600001)(386003)(81166006)(81156014)(305945005)(316002)(2906002)(110136005)(6116002)(3846002)(66066001)(256004)(5660300002)(68736007)(36756003)(186003)(76176011)(2501003)(99286004)(6436002)(52116002)(6486002)(32563001);DIR:OUT;SFP:1101;SCL:1;SRVR:DB3PR0402MB3899;H:DB3PR0402MB3916.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A: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: sRnHtq+jLMbVhKcLnfFMyj1b4hCDXZXRtxDaBIwL1Pmzqo0xMrKWq0Pq0w1wXrzFHeuSpXU+oTogfLbJtkGgUj6OAG8QjdOAl1EpusaAi8DGTShe8TJTUMIhmtI/VvuGxt4OsIoG0nNRp1OTT4KVxDuz7cU0zqmjXlYH+61YiyX1BqWV54TWkudPXjU3JO0cLI9TvTeOSCSQFMBtW9EFYPl9dysoxq0n2UP4rLWHQ+MmQ9ztH0nHObB04cAPafD26mqRVK2YtfDTbteMvqaMbidsHn6NfSnOEOYtQLf2IK6le8ZxRvDUjY2UtA6oU5tG62c/pEYsmtil0npBbpSmLEorv4ppvNPy0eP8zFfJD8GE/yFEu5bptDI9Pp9uPZXs8IBUHF5Q/CPUUbr872HucoBRWLc+gjky4rr4rEkLyLk= Content-Type: text/plain; charset="iso-8859-1" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 06ac86d9-d449-4ece-fc37-08d6d6c04235 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 May 2019 09:57:35.4774 (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: DB3PR0402MB3899 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On i.MX6SX SDB board, vgen6 supplies vdd1p1/vdd2p5 LDO and sw2 supplies vdd3p0 LDO, this patch assigns corresponding power supply for vdd1p1/vdd2p5/vdd3p0 to avoid confusion by below log: vdd1p1: supplied by regulator-dummy vdd3p0: supplied by regulator-dummy vdd2p5: supplied by regulator-dummy With this patch, the power supply is more accurate: vdd1p1: supplied by VGEN6 vdd3p0: supplied by SW2 vdd2p5: supplied by VGEN6 Signed-off-by: Anson Huang --- No code change, just resend patch with correct encoding. --- arch/arm/boot/dts/imx6sx-sdb-reva.dts | 12 ++++++++++++ arch/arm/boot/dts/imx6sx-sdb.dts | 12 ++++++++++++ arch/arm/boot/dts/imx6sx.dtsi | 6 +++--- 3 files changed, 27 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/imx6sx-sdb-reva.dts b/arch/arm/boot/dts/imx6= sx-sdb-reva.dts index 00c4854..5b3d6c10 100644 --- a/arch/arm/boot/dts/imx6sx-sdb-reva.dts +++ b/arch/arm/boot/dts/imx6sx-sdb-reva.dts @@ -154,3 +154,15 @@ enable-active-high; vin-supply =3D <®_can_en>; }; + +®_vdd1p1 { + vin-supply =3D <&vgen6_reg>; +}; + +®_vdd3p0 { + vin-supply =3D <&sw2_reg>; +}; + +®_vdd2p5 { + vin-supply =3D <&vgen6_reg>; +}; diff --git a/arch/arm/boot/dts/imx6sx-sdb.dts b/arch/arm/boot/dts/imx6sx-sd= b.dts index 998e3e1..10f6da8 100644 --- a/arch/arm/boot/dts/imx6sx-sdb.dts +++ b/arch/arm/boot/dts/imx6sx-sdb.dts @@ -137,6 +137,18 @@ vin-supply =3D <&sw1a_reg>; }; =20 +®_vdd1p1 { + vin-supply =3D <&vgen6_reg>; +}; + +®_vdd3p0 { + vin-supply =3D <&sw2_reg>; +}; + +®_vdd2p5 { + vin-supply =3D <&vgen6_reg>; +}; + ®_can_stby { /* Transceiver EN/STBY is active low on RevB board */ gpio =3D <&gpio4 27 GPIO_ACTIVE_LOW>; diff --git a/arch/arm/boot/dts/imx6sx.dtsi b/arch/arm/boot/dts/imx6sx.dtsi index b16a123..bbdfdd8 100644 --- a/arch/arm/boot/dts/imx6sx.dtsi +++ b/arch/arm/boot/dts/imx6sx.dtsi @@ -600,7 +600,7 @@ , ; =20 - regulator-1p1 { + reg_vdd1p1: regulator-1p1 { compatible =3D "fsl,anatop-regulator"; regulator-name =3D "vdd1p1"; regulator-min-microvolt =3D <1000000>; @@ -615,7 +615,7 @@ anatop-enable-bit =3D <0>; }; =20 - regulator-3p0 { + reg_vdd3p0: regulator-3p0 { compatible =3D "fsl,anatop-regulator"; regulator-name =3D "vdd3p0"; regulator-min-microvolt =3D <2800000>; @@ -630,7 +630,7 @@ anatop-enable-bit =3D <0>; }; =20 - regulator-2p5 { + reg_vdd2p5: regulator-2p5 { compatible =3D "fsl,anatop-regulator"; regulator-name =3D "vdd2p5"; regulator-min-microvolt =3D <2250000>; --=20 2.7.4