Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp10166730imu; Wed, 5 Dec 2018 17:44:06 -0800 (PST) X-Google-Smtp-Source: AFSGD/V5pE4MYf0FbIQOw0C+UZNQzsiOtrpxU8UdGnnwPFbMv462vSvmG4S4sGX3CEEcbwIVX6sv X-Received: by 2002:a17:902:b112:: with SMTP id q18mr26454872plr.255.1544060646441; Wed, 05 Dec 2018 17:44:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544060646; cv=none; d=google.com; s=arc-20160816; b=lgqUiRW993/tMo/p3f7n0L/gatwCtmUPpM2N+I5TfzQLCVUjsKCUYgKU+rn33BB56N HG1C16uPaR6pXdg/ErChxEf3BZ+8PuHfii9c19kGm3gA8GyjeHn35xHr/qdDs33J2XS5 4FAW5GOH0Chh1hY1izkCIXuHQj8+rQrOEB/gC9iJEzHQw7E4JN9yFa9CTO1qBkia3pRK pM/Z06zXvSEGMRs4q77RS0LIANkh/2wYE74g31qrFDCGgBCvlts4K4tL4A7OElXG/3Oa 08Qfam6WmkWnQQv6rljNBAnnRPHv1l4hJ4xCFHJssUrwDvMCG93hx8Ugjc7fQp2tHL+k r/zw== 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 :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:message-id:date:thread-index:thread-topic:subject :cc:to:from:dkim-signature; bh=liR6r9cd0owrn9JDG2OI88carz9Zfyl0ucaK8Z9M//4=; b=c8MyRRGGHlQRTtBFpP7RULoH7B++Yz+L0o/AESjSzu4oYHTwumYZQxJQnFdcHHRcQP auPxFu0K64TKX0i1jOV2U2P2JNUq6MsHVtgIdgN4RTew+5UFM74EGdylfTzCo934ZXBJ Tq66oIJK2vYMI5llG72FCiigY3X9hD429VaMgZJLdQ1JmUTt3tSD6cMCyx4IRVI+NAZJ G6l+HUDxDi2jxSIulQdTlNQsRTsfqNEb8thz1Kge/Ey6e8VarJ9i4Kcn0zmh17BwKRMB 0X4skD4IeSVNb0TBN1rQq+JKcjol7cwEY4pQkeO6Zmky41qlLts9+sIpsk1wZKIA2b49 mLPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=Lsc2BZTm; 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 t17si6878815pgk.217.2018.12.05.17.43.51; Wed, 05 Dec 2018 17:44:06 -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=Lsc2BZTm; 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 S1728758AbeLFBmf (ORCPT + 99 others); Wed, 5 Dec 2018 20:42:35 -0500 Received: from mail-eopbgr00044.outbound.protection.outlook.com ([40.107.0.44]:23680 "EHLO EUR02-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727670AbeLFBmf (ORCPT ); Wed, 5 Dec 2018 20:42:35 -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=liR6r9cd0owrn9JDG2OI88carz9Zfyl0ucaK8Z9M//4=; b=Lsc2BZTm6gTjqr4nLLK0kmy1xQ2CKnvby5qizYANxEYIsoDNfuLcif/cAf5KcyFZSULDtwVxi49ks2Y3szA7HVbznzg/hNOkndRGpxw2ecswUNZToAi08HzVM9u+tGUsxOn9lsN4lj5G3i56wTpXVUQA4TZOoI6eYeAgtFz2JW8= Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com (52.134.72.18) by DB3PR0402MB3947.eurprd04.prod.outlook.com (52.134.67.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1382.22; Thu, 6 Dec 2018 01:42:31 +0000 Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::adf8:f49d:deb4:58fd]) by DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::adf8:f49d:deb4:58fd%3]) with mapi id 15.20.1382.023; Thu, 6 Dec 2018 01:42:30 +0000 From: Anson Huang To: "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , Fabio Estevam , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "linux-arm-kernel@lists.infradead.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" CC: dl-linux-imx Subject: [PATCH V2 1/4] ARM: dts: imx6qdl-sabresd: Move regulators outside of "simple-bus" Thread-Topic: [PATCH V2 1/4] ARM: dts: imx6qdl-sabresd: Move regulators outside of "simple-bus" Thread-Index: AQHUjQTzAHzf1Vy8wUKFGc7PPt68jg== Date: Thu, 6 Dec 2018 01:42:30 +0000 Message-ID: <1544060203-22163-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: HK2PR04CA0051.apcprd04.prod.outlook.com (2603:1096:202:14::19) 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-microsoft-exchange-diagnostics: 1;DB3PR0402MB3947;6:+QlCNd4nbiy4YcG+xfVeiN86bH6Ooi9Ch0+bS9jzHbYEEOj6msHiRpf4+GurqeNuesIM5Djj9eCJt6TQ2S4yGoHG+EmvbibLRZnGkunznQhZD6pbly64nKi8Rr/moakhVixtIuarbVAf549bAzGse8aOWk8TDveMykcd6nzStcFqcy7kb0ka6rExUM79F9z0wddgY9ZyP7pJE0I+xk1bbXJPF6uCoqlX6vLJ4mGFl8sF6m2vQQhKfxUPMxnNa8D8cFAJ+2k+PxUjvAC3SxMyPDFAspB19Rw0a+yiJTLXdtYgA+fi3/f68hHURGyUeTXq5aj/A9WtW6MxWFl4HLjCNwUybHFV0e9Q1TNJpeEKXXgx+ZJHMQXoeoxl6PlC0ka+hZvW7obzaXfRNPtG4OdXCuFuT9n4gThGtcSpgyvFlG55boHKqi+drXvrLa3I/jhey+PFPnCbz0g9d//nISUb7w==;5:Lwjgqhv5MurcHq9QMRCkU2wRQDGFDjxKzTmjEZLOOZ/5cs4e1+HV0F/YdlrlkkY1QNZPU7wazZSnZeIcP11gtFkEd1Q71eQMGasKgwoQqrG3GwxqQzpdbsDBSgZ89CakS/Vlg6aj9TJO7iK7+oVQgoPli/eWUO59XiLxDZPTwXA=;7:WHtqOfr3CjYZ1WpISdlIZ8l2cgGDwKyoo39lXyLdgIlHTgMxZhvqKBllTsm7Bpi456wv+3s/6HALLjJILLhkH5Mgrx3U5Iv2K23StiTkRpF1oxQ/tDVeGcNxyyoW4XjrY0fnO+uR3TaD4z18c/4Hfg== x-ms-office365-filtering-correlation-id: cf5457ff-c73e-4c66-78e8-08d65b1c15c8 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390098)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020);SRVR:DB3PR0402MB3947; x-ms-traffictypediagnostic: DB3PR0402MB3947: x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(3231455)(999002)(944501520)(52105112)(93006095)(93001095)(10201501046)(6055026)(148016)(149066)(150057)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123558120)(20161123562045)(201708071742011)(7699051)(76991095);SRVR:DB3PR0402MB3947;BCL:0;PCL:0;RULEID:;SRVR:DB3PR0402MB3947; x-forefront-prvs: 087894CD3C x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(366004)(39860400002)(376002)(396003)(346002)(136003)(199004)(189003)(102836004)(86362001)(2501003)(6486002)(97736004)(386003)(52116002)(6506007)(99286004)(3846002)(476003)(6436002)(256004)(2906002)(26005)(486006)(6116002)(186003)(110136005)(106356001)(2616005)(14454004)(2201001)(105586002)(305945005)(478600001)(7736002)(4326008)(66066001)(25786009)(8936002)(50226002)(81166006)(81156014)(71190400001)(71200400001)(5660300001)(6512007)(68736007)(53936002)(36756003)(8676002)(316002)(32563001);DIR:OUT;SFP:1101;SCL:1;SRVR:DB3PR0402MB3947;H:DB3PR0402MB3916.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-microsoft-antispam-message-info: X1Rh3Fn1z2RCBFZce6ZKjtAbhBeC3bq8LPycSilDiSY+jz2aQVQt+lTeIGkHWrRT4HJmJpDxScpBa7xwR06vBuZk9gpRi/UWp+mT2UfQl06M0iBw8XLJ4FoOLNfkyIKA2REnp95OikIx+LFIRgM4VR25CMoA9m64ZjnMfacM/N57Ir2ujbk2DXHGt+lQLzvkkUJEAn6pXNYUA2SyJnjhyK7P8xok+cGfMHkrswypTrVx4NVoDBCDa6fkec3cnAvIHLBj9gYjmp2M79tTjQIagBxHbJ3sshvFzjZ+ZV9ulHmzSGa7yfzGwH/mTFHz8r0v5lbxrA9sioWD5A3sP+nngPlmObmaxG0bVBpYGG5Pp+0= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: cf5457ff-c73e-4c66-78e8-08d65b1c15c8 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Dec 2018 01:42:30.7629 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0402MB3947 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Fabio Estevam It is not recommended to place regulators inside "simple-bus", so move them out to make it cleaner the addition of new regulators. Signed-off-by: Fabio Estevam --- arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 82 +++++++++++++++---------------= ---- 1 file changed, 36 insertions(+), 46 deletions(-) diff --git a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi b/arch/arm/boot/dts/imx= 6qdl-sabresd.dtsi index d7389b5..66972e8 100644 --- a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi +++ b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi @@ -16,52 +16,42 @@ reg =3D <0x10000000 0x40000000>; }; =20 - regulators { - compatible =3D "simple-bus"; - #address-cells =3D <1>; - #size-cells =3D <0>; - - reg_usb_otg_vbus: regulator@0 { - compatible =3D "regulator-fixed"; - reg =3D <0>; - regulator-name =3D "usb_otg_vbus"; - regulator-min-microvolt =3D <5000000>; - regulator-max-microvolt =3D <5000000>; - gpio =3D <&gpio3 22 0>; - enable-active-high; - vin-supply =3D <&swbst_reg>; - }; - - reg_usb_h1_vbus: regulator@1 { - compatible =3D "regulator-fixed"; - reg =3D <1>; - regulator-name =3D "usb_h1_vbus"; - regulator-min-microvolt =3D <5000000>; - regulator-max-microvolt =3D <5000000>; - gpio =3D <&gpio1 29 0>; - enable-active-high; - vin-supply =3D <&swbst_reg>; - }; - - reg_audio: regulator@2 { - compatible =3D "regulator-fixed"; - reg =3D <2>; - regulator-name =3D "wm8962-supply"; - gpio =3D <&gpio4 10 0>; - enable-active-high; - }; - - reg_pcie: regulator@3 { - compatible =3D "regulator-fixed"; - reg =3D <3>; - pinctrl-names =3D "default"; - pinctrl-0 =3D <&pinctrl_pcie_reg>; - regulator-name =3D "MPCIE_3V3"; - regulator-min-microvolt =3D <3300000>; - regulator-max-microvolt =3D <3300000>; - gpio =3D <&gpio3 19 0>; - enable-active-high; - }; + reg_usb_otg_vbus: regulator-usb-otg-vbus { + compatible =3D "regulator-fixed"; + regulator-name =3D "usb_otg_vbus"; + regulator-min-microvolt =3D <5000000>; + regulator-max-microvolt =3D <5000000>; + gpio =3D <&gpio3 22 0>; + enable-active-high; + vin-supply =3D <&swbst_reg>; + }; + + reg_usb_h1_vbus: regulator-usb-h1-vbus { + compatible =3D "regulator-fixed"; + regulator-name =3D "usb_h1_vbus"; + regulator-min-microvolt =3D <5000000>; + regulator-max-microvolt =3D <5000000>; + gpio =3D <&gpio1 29 0>; + enable-active-high; + vin-supply =3D <&swbst_reg>; + }; + + reg_audio: regulator-audio { + compatible =3D "regulator-fixed"; + regulator-name =3D "wm8962-supply"; + gpio =3D <&gpio4 10 0>; + enable-active-high; + }; + + reg_pcie: regulator-pcie { + compatible =3D "regulator-fixed"; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_pcie_reg>; + regulator-name =3D "MPCIE_3V3"; + regulator-min-microvolt =3D <3300000>; + regulator-max-microvolt =3D <3300000>; + gpio =3D <&gpio3 19 0>; + enable-active-high; }; =20 gpio-keys { --=20 2.7.4