From patchwork Fri Dec 1 19:24:38 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 843690 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="RuypmAp4"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="X93KGHTz"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3ypPQ93YGxz9sNc for ; Sat, 2 Dec 2017 06:26:09 +1100 (AEDT) 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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: 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: List-Owner; bh=DPUe8sAEAFCYDDYVwRTEJ97MdPY83z/gf1ErK3TKPAw=; b=RuypmAp4/hd6qr s9AxD6Rv8v170RsNpcxvWZi7NAzV5iy9bGQ/JLf41m1Rb77HiDRObU1uj+OLV2D2WfP9dcNgNK6sr PE8zGZIEwV1KeXOtxP7NPeE1Wg+1x9az0E4HH/Y5KAcSIh/wW/zwcmYmXtsE+AgB+EZUF1MtuKeQ/ 44x9dkFOVyTQJcoC4m4wnWcStxo31xDCX/37RvAWni273wrg+XyYDPjWx8++0b217rGbNyvouBxKR QWWwZTnNArWsHs7eAaCkgTHtyWdlX43uLy3GP9YjezLAhxFrXmEETvOBvrOTfom3Ggr1XMWUTGbzj qjU4eIU6654Sln8sXobQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eKqwp-0005JB-H7; Fri, 01 Dec 2017 19:26:07 +0000 Received: from mail-qt0-x242.google.com ([2607:f8b0:400d:c0d::242]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eKqwI-0004j2-Ro for linux-arm-kernel@lists.infradead.org; Fri, 01 Dec 2017 19:25:43 +0000 Received: by mail-qt0-x242.google.com with SMTP id g9so14344423qth.9 for ; Fri, 01 Dec 2017 11:25:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=6zs1eqiT2Um494GlX6ZcDzo/9VH/h+QJPVQGXJd6+Jw=; b=X93KGHTzYggFK3BKgdy5EX4oI9sr5KpW46pmHMG6ScqByadHVgsXhWuwp5odLNAn4L WaFxv6fo+bodND5NkFz0g9Sz3HYfvfm37XVPHHpjvBIaOW6Qo+BQQ3e3ytaD7qER/y0X lDqhxV2g9+ozDSmzD7FvVpRcv695BGAgBbXRifKg6vvfjPXwzgt8panK55nUZ4BoLdiV DmjxeUDLG3EbHdFn4QPf8udG2mnnP7BKaNWB5/0T3CYrW7vIx3HOe/rK8eDm3ad9RSE8 t4G3rpK8WHL4G7pJUPbrNgQWXeMWA5X9BrhtZOPmSP6HdgT6cclrHKj+jivAOz38oVaJ 7/DA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=6zs1eqiT2Um494GlX6ZcDzo/9VH/h+QJPVQGXJd6+Jw=; b=d+hJUl4VoI7hkC/tTXz+8ZV4Je9u+wnWSl7whhZeRx8Ef10OEO4UgioKhpue7pGecV kYQTGkPSbbq7lRi50Wf30RiIPRxr1yN9liomyRFI0DxYBTypXbv7lUGzLz8eU7TfZyGs nfYhsuUqQnYgScrBu7OUcwGT03hMYodya40wzlu73qFwaQUfBKR7jCN/EvrZ6iM5iv3v bxD8C7hHcd0TT29ojaMaQTqlqcZUFoeYPhopBsWSwN+/EoyXNrtQ9iNKGa0QEWhikUzh DQWPj0HZ4T9UeQ1o2rA0ywhRwJH8Dt+e/xyA4fvx+XlaA15s+Q3DA8liGxImFjRnn4DT bAoA== X-Gm-Message-State: AKGB3mJxdViyAk8DWzpEwrXchd47DNrhPeVw4qjojqpLUW4qgG7n1jfS UuiaCc4W78Ibxxbef4ze4N0= X-Google-Smtp-Source: AGs4zMbz8tqg0RsYzsV779/jtEBlFOeSfztUytF8w98bk9iaMrSC0PP3+N+Hk6iOZcSppTz7ID4KLw== X-Received: by 10.200.44.187 with SMTP id 56mr10690241qtw.238.1512156318332; Fri, 01 Dec 2017 11:25:18 -0800 (PST) Received: from localhost.localdomain ([187.180.181.171]) by smtp.gmail.com with ESMTPSA id q191sm5188167qke.54.2017.12.01.11.25.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 01 Dec 2017 11:25:17 -0800 (PST) From: Fabio Estevam To: shawnguo@kernel.org Subject: [PATCH 05/12] ARM: dts: imx6qdl-apf6dev: Move regulators out of simple-bus Date: Fri, 1 Dec 2017 17:24:38 -0200 Message-Id: <1512156285-18451-5-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1512156285-18451-1-git-send-email-festevam@gmail.com> References: <1512156285-18451-1-git-send-email-festevam@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171201_112536_053657_3FC0C575 X-CRM114-Status: GOOD ( 10.09 ) X-Spam-Score: -0.3 (/) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-0.3 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [2607:f8b0:400d:c0d:0:0:0:242 listed in] [list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (festevam[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 0.1 URIBL_SBL_A Contains URL's A record listed in the SBL blocklist [URIs: armadeus.com] 1.6 URIBL_SBL Contains an URL's NS IP listed in the SBL blocklist [URIs: armadeus.com] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fabio Estevam , devicetree@vger.kernel.org, robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org From: Fabio Estevam It is not recommended to place regulator nodes inside simple-bus, so move them out in order to fix the following build warnings with W=1: arch/arm/boot/dts/imx6dl-apf6dev.dtb: Warning (simple_bus_reg): Node /regulators/3p3v missing or empty reg/ranges property arch/arm/boot/dts/imx6dl-apf6dev.dtb: Warning (simple_bus_reg): Node /regulators/usb-h1-vbus missing or empty reg/ranges property arch/arm/boot/dts/imx6dl-apf6dev.dtb: Warning (simple_bus_reg): Node /regulators/usb-otg-vbus missing or empty reg/ranges property Cc: Sébastien Szymanski Signed-off-by: Fabio Estevam --- arch/arm/boot/dts/imx6qdl-apf6dev.dtsi | 44 ++++++++++++++++------------------ 1 file changed, 20 insertions(+), 24 deletions(-) diff --git a/arch/arm/boot/dts/imx6qdl-apf6dev.dtsi b/arch/arm/boot/dts/imx6qdl-apf6dev.dtsi index 829a479..a61dd1a 100644 --- a/arch/arm/boot/dts/imx6qdl-apf6dev.dtsi +++ b/arch/arm/boot/dts/imx6qdl-apf6dev.dtsi @@ -111,32 +111,28 @@ }; }; - regulators { - compatible = "simple-bus"; - - reg_3p3v: 3p3v { - compatible = "regulator-fixed"; - regulator-name = "3P3V"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - regulator-always-on; - }; + reg_3p3v: regulator-3p3v { + compatible = "regulator-fixed"; + regulator-name = "3P3V"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + }; - reg_usbh1_vbus: usb-h1-vbus { - compatible = "regulator-fixed"; - regulator-name = "usb_h1_vbus"; - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - regulator-always-on; - }; + reg_usbh1_vbus: regulator-usb-h1-vbus { + compatible = "regulator-fixed"; + regulator-name = "usb_h1_vbus"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + regulator-always-on; + }; - reg_usb_otg_vbus: usb-otg-vbus { - compatible = "regulator-fixed"; - regulator-name = "usb_otg_vbus"; - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - regulator-always-on; - }; + reg_usb_otg_vbus: regulator-usb-otg-vbus { + compatible = "regulator-fixed"; + regulator-name = "usb_otg_vbus"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + regulator-always-on; }; sound {