Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp1351903imd; Sun, 4 Nov 2018 01:27:46 -0700 (PDT) X-Google-Smtp-Source: AJdET5cfMpMV5+0RTgOSNSs+VuRxPS7+uFNtJJjZX7yA5bMKYP5/inJvtHe3CVlHRRNjJ1eUsGHA X-Received: by 2002:aa7:814f:: with SMTP id d15-v6mr18062666pfn.78.1541320066261; Sun, 04 Nov 2018 01:27:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541320066; cv=none; d=google.com; s=arc-20160816; b=Hdz8Lz/7RVsGQ56X6yE8iPtVvxTmZ6xbmNF4YyB/X/WBu6UHlTZ1YPFJeUgl32brIG /poOoxmipA9yehwUJZa4Z4s1oGe86b6jV4pWuaA+8otFr/WYDNgG7f/QhEjf05njoZxG iSG5NtVsKmmOEoNijNj/nn8q3238AF2qSyi8sOb9n9I3CbvI8aMYQ7dggrXIIp43c0xe GoRVadC+fCxAjgWL5OlC0+/5m04IVWsb1u9tEzrp0/S5HoclEYAIfhqwq3WeLy0Gv5DT JvxeiQs46SSNdhkCyPVLkbIrnESMRYt5IYbyjNFohdC3P2oURlL1vm6KV0wWZz2FoSCD jgZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=b/uYMWrB0R/j75Tq1GLl/AnrKI3weWPUbpwTUruGr1o=; b=zXxbpPp+KxfVsF7ypAnjMt7oqhO8nDyN7949RxQ/0mhWJe+kpLgeqVN273+PBqbcfz hxsXvvkxoXDsKNSwk0pTuKKwUUYyuUbV75E1GnbVfxxUwW+/GeL8c3VJn8V9nkEbVH+6 k/hhDJva9cYWZUQBeygvM8ShxGfrlqNfcM8Y/r8XUsYFejqXH5ogRkxKhiJMJ9vImPe+ rf5fxwsKgdsOap2zoa2wDyC6ErbOZm0n3DNcMbZamqHW7qD1bZu+T93kxwRwEKe36NiJ qy5gXAoIH8jFeu0sygq6bF0cDylS2eqG81gy6rdZ11C91H+6rIRVcWyjD7YcptJ6fNeP ZdbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=dYBGZYhV; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a195-v6si14199562pfa.214.2018.11.04.01.27.31; Sun, 04 Nov 2018 01:27:46 -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=@kernel.org header.s=default header.b=dYBGZYhV; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729176AbeKDRj7 (ORCPT + 99 others); Sun, 4 Nov 2018 12:39:59 -0500 Received: from mail.kernel.org ([198.145.29.99]:54388 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728791AbeKDRj7 (ORCPT ); Sun, 4 Nov 2018 12:39:59 -0500 Received: from tiger (61-216-91-114.HINET-IP.hinet.net [61.216.91.114]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 22BA12081C; Sun, 4 Nov 2018 08:25:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541319951; bh=o5lmYLHza7zgY8OuolXXIYHYppJRT8gDEh9i6p/w2DI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dYBGZYhVFbEjEUH93ltsDqLtU8YbvydvWQwv6VdnEr4rh3IG7XASok7JfVnA6s2oI UEhrytY0/uVIyscAoyvFwpoVgKjymLtXHeUuZ1i4F8JFB1McXfhockCjslTyQYeyDg p3al/BVvdtqaZjNxoj23P59T7eqknlEAXQtY7umI= Date: Sun, 4 Nov 2018 16:25:35 +0800 From: Shawn Guo To: Joakim Zhang Cc: "s.hauer@pengutronix.de" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "robh+dt@kernel.org" , dl-linux-imx , "kernel@pengutronix.de" , Fabio Estevam , "linux-arm-kernel@lists.infradead.org" Subject: Re: [PATCH V1] ARM: dts: sabreauto: Remove reg property from fixed regulator Message-ID: <20181104082533.GD26016@tiger> References: <20181024102255.25640-1-qiangqing.zhang@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181024102255.25640-1-qiangqing.zhang@nxp.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 24, 2018 at 10:25:12AM +0000, Joakim Zhang wrote: > Remove reg property from fixed regulator as upstream has no longer > needed this property. Prefix 'ARM: dts: imx6qdl-sabreauto: ...' should be more accurate. And the 'reg' property was there only because we have a fake bus container node 'regulators'. I applied the patch after updating the prefix and rewording the commit log a little bit. Shawn > > Signed-off-by: Joakim Zhang > --- > arch/arm/boot/dts/imx6qdl-sabreauto.dtsi | 53 ++++++++++-------------- > 1 file changed, 22 insertions(+), 31 deletions(-) > > diff --git a/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi b/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi > index a6dc5c42c632..a10f0ad0bfb1 100644 > --- a/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi > +++ b/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi > @@ -75,39 +75,30 @@ > }; > }; > > - regulators { > - compatible = "simple-bus"; > - #address-cells = <1>; > - #size-cells = <0>; > + reg_audio: regulator-audio { > + compatible = "regulator-fixed"; > + regulator-name = "cs42888_supply"; > + regulator-min-microvolt = <3300000>; > + regulator-max-microvolt = <3300000>; > + regulator-always-on; > + }; > > - reg_audio: regulator@0 { > - compatible = "regulator-fixed"; > - reg = <0>; > - regulator-name = "cs42888_supply"; > - regulator-min-microvolt = <3300000>; > - regulator-max-microvolt = <3300000>; > - regulator-always-on; > - }; > + reg_usb_h1_vbus: regulator-usb-h1-vbus { > + compatible = "regulator-fixed"; > + regulator-name = "usb_h1_vbus"; > + regulator-min-microvolt = <5000000>; > + regulator-max-microvolt = <5000000>; > + gpio = <&max7310_b 7 GPIO_ACTIVE_HIGH>; > + enable-active-high; > + }; > > - reg_usb_h1_vbus: regulator@1 { > - compatible = "regulator-fixed"; > - reg = <1>; > - regulator-name = "usb_h1_vbus"; > - regulator-min-microvolt = <5000000>; > - regulator-max-microvolt = <5000000>; > - gpio = <&max7310_b 7 GPIO_ACTIVE_HIGH>; > - enable-active-high; > - }; > - > - reg_usb_otg_vbus: regulator@2 { > - compatible = "regulator-fixed"; > - reg = <2>; > - regulator-name = "usb_otg_vbus"; > - regulator-min-microvolt = <5000000>; > - regulator-max-microvolt = <5000000>; > - gpio = <&max7310_c 1 GPIO_ACTIVE_HIGH>; > - enable-active-high; > - }; > + reg_usb_otg_vbus: regulator-usb-otg-vbus { > + compatible = "regulator-fixed"; > + regulator-name = "usb_otg_vbus"; > + regulator-min-microvolt = <5000000>; > + regulator-max-microvolt = <5000000>; > + gpio = <&max7310_c 1 GPIO_ACTIVE_HIGH>; > + enable-active-high; > }; > > sound-cs42888 { > -- > 2.17.1 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel