From patchwork Fri May 4 09:27:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 10380263 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 64CF56038F for ; Fri, 4 May 2018 09:28:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 90CD629307 for ; Fri, 4 May 2018 09:28:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8571D2931E; Fri, 4 May 2018 09:28:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 14CA429307 for ; Fri, 4 May 2018 09:28:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=8u9ce4rAm57ZiI2jeADlJg2JDngoQXTCeGZNtL7uHCU=; b=lsH BaGiXNPQ9ipl126CUuP5rUdSY2Q3EeCjD29LvwoMSgafbKzGkIhd/TcdaNFiz+w+HbP4I8UAyjQaR +zpPQaZbRD/pfnXEXGXOK2bwf6U11guTC+UXGqsDKhJGQ1owmCzBTnHwcsyw7Q3mzhJfVfsztznNy s+MAf/ZjekqMXIXlh6D71aFULvDMpPGwP6jpgss0ioFquCQnCeVFIhIsl5b82W2DG7vs3Wl3v215E LsqZ1Q723JYb1J5UG1B45w8eJr12J/ljWW9VBDBOZqhnSwQXPaI3vtOw9yofwraB7UdqQAgridqWa ZwPN0vrj5V81BS2bbEOIo8k1U73dLeA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fEX0j-000679-Bx; Fri, 04 May 2018 09:28:17 +0000 Received: from mail-pg0-f68.google.com ([74.125.83.68]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fEX0f-00065l-3p for linux-arm-kernel@lists.infradead.org; Fri, 04 May 2018 09:28:14 +0000 Received: by mail-pg0-f68.google.com with SMTP id i194-v6so15088525pgd.0 for ; Fri, 04 May 2018 02:28:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=eXxut/9vZukL3CePxdYnxw0uFnwXwArPhJVV5IH0AGg=; b=AFfqAMVdAYd0E9qdvdXJhtQvgR7Y0B15H8ucS1OdNpsynM11W6G6Krwhn5o5dmaHgb TqGmPvmN0DUr5ChCW93lPo6Xoq0scdNlZQJ9pECKToJRFkvKj1wnXoYzPNV664M18KBS OYiJksnmQY8ZpJNZbR6kPjwiCbl3N1eatN2NTpmDHGJE9Hi8NDVtCIvV9cekgPQVgdtu ziAEeufeyrcObjRr7loOSHBV53Zfk2/B19kFrqMotZsOxy9vXzq+JCKzsVJ2KNKLIpBy qgzW8pXVucJBz4QL/IWfVd34b/XmulfU6ADx/jk2Y268GAHc61iIuavU5Kj8Y4oFY5vc SaGg== X-Gm-Message-State: ALQs6tAzTSWIuus7Jgf+m91IbtQxYmy4UYTOjHmVI+wbnmO+AmdIwEYl +xgYIIsIg2L3L82GZAeKrlP3Nmlr0Co= X-Google-Smtp-Source: AB8JxZpycmgj/Ou/lycpD1FYPgQHp0QU9HeBospmld6J16rNJVMCUY8ed8Lhu6Ln2GUQTjOofz9HOg== X-Received: by 2002:a17:902:bc48:: with SMTP id t8-v6mr27192106plz.133.1525426081281; Fri, 04 May 2018 02:28:01 -0700 (PDT) Received: from localhost.localdomain ([45.56.152.81]) by smtp.gmail.com with ESMTPSA id o4sm31361888pfg.129.2018.05.04.02.27.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 04 May 2018 02:27:59 -0700 (PDT) From: Shawn Guo To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/2] ARM: dts: imx6sx-sabreauto: drop 'regulators' container node Date: Fri, 4 May 2018 17:27:09 +0800 Message-Id: <1525426030-17221-1-git-send-email-shawnguo@kernel.org> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180504_022813_155314_2C71E6A6 X-CRM114-Status: GOOD ( 11.30 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fabio Estevam , Shawn Guo , kernel@pengutronix.de, Anson Huang , linux-imx@nxp.com MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Let's drop the 'regulators' container node by giving VCC_SD3 an unique name and removing 'reg' property, so that the fixed regulator can be under root node directly. Signed-off-by: Shawn Guo --- arch/arm/boot/dts/imx6sx-sabreauto.dts | 25 +++++++++---------------- 1 file changed, 9 insertions(+), 16 deletions(-) diff --git a/arch/arm/boot/dts/imx6sx-sabreauto.dts b/arch/arm/boot/dts/imx6sx-sabreauto.dts index 57d1ea0a3f8e..e5c1d6daa5e0 100644 --- a/arch/arm/boot/dts/imx6sx-sabreauto.dts +++ b/arch/arm/boot/dts/imx6sx-sabreauto.dts @@ -18,22 +18,15 @@ reg = <0x80000000 0x80000000>; }; - regulators { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <0>; - - vcc_sd3: regulator@0 { - compatible = "regulator-fixed"; - reg = <0>; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_vcc_sd3>; - regulator-name = "VCC_SD3"; - regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3000000>; - gpio = <&gpio2 11 GPIO_ACTIVE_HIGH>; - enable-active-high; - }; + vcc_sd3: regulator-vcc-sd3 { + compatible = "regulator-fixed"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_vcc_sd3>; + regulator-name = "VCC_SD3"; + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3000000>; + gpio = <&gpio2 11 GPIO_ACTIVE_HIGH>; + enable-active-high; }; };