Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3462990ybi; Tue, 18 Jun 2019 00:56:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqwftDruSRsmVXlXV+NfJuOzBqkeo84h8c26p+Gr3apHvnNAkylTv6JGgU9WTKDh7Om3OuYU X-Received: by 2002:a65:62ca:: with SMTP id m10mr1460524pgv.57.1560844609590; Tue, 18 Jun 2019 00:56:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560844609; cv=none; d=google.com; s=arc-20160816; b=hk2T36VvBABkxZ4HnUNXUeM61hPc/j9Sl7AR/pqrnV8/NGxENHJrn1GcFT3NJaBXjf zSZ9k0mZ2dUvTtY3eIWsCbvwNz4UGnkiL1tp5VJcCK1LHQIQw7HkIVEehvcoB+EFpY3S jxPMhmlqaGbWIW236YEw9jBZGfi/u/EJj9YDZyI+JNqC1q8dbq+PaLvFTUi38gRr3RGg nztg72RIbbYBfh9UVg6aB+7yRF//esLtv0aDP3apFv2xL/eenZbTdaF6Qu+DTNuOpJTd NaUfS3I9Vq0BP4iDoL7hTWn0Zi+v6O2qXWGskVs+9QI4VSMuGSTZhcx8AF7p0mOa1zNB 0aWA== 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=4SYRNKCVau8B4nWbRtZeVA0tSPCGdVDocUq4CX/PwVc=; b=jtODFK74n0gCkf9+vDqcQxlloXE7oFTFWmeYtXw4sLRb2j3WOMLUCzbjS+9u41uUza 3GmyZfvUpeNgIki9W8OEKpsqXltna6TCer9mIS9uAz9Xc3tTeEpoxMUAQb80PbspPD09 FSyg4iOWRra6BQ7G0k8FzD5ID+W3TJNWvZbLdK4L2y15uSHuIusrIsjPr73lB8h96GGW beW/SK8siKkO5MpI1x32od8PPOzPH6Wy7KKSX6gdZHNBkDeW2Nhkm4mAPTx75qIoU9P/ NN/l72l2Nqh0pCKcPClYtdOc/lFt8k3eJP3zor9uPB7kevv02bL5957hVBCezJCbjfMs Hx6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=f7XJWm8Z; 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 i8si13393582pfk.189.2019.06.18.00.56.33; Tue, 18 Jun 2019 00:56:49 -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=f7XJWm8Z; 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 S1726505AbfFRH43 (ORCPT + 99 others); Tue, 18 Jun 2019 03:56:29 -0400 Received: from mail.kernel.org ([198.145.29.99]:35718 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726007AbfFRH43 (ORCPT ); Tue, 18 Jun 2019 03:56:29 -0400 Received: from dragon (li1322-146.members.linode.com [45.79.223.146]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 321CD20B1F; Tue, 18 Jun 2019 07:56:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1560844588; bh=XIE2Hjz7qxyhCE1ax8Z4bhoYlN9BRc2odviako0LTrk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=f7XJWm8ZlhiiyWS1I4UaU1VfpwZo2sqNCqKS3nbUgX2Ey4LdpNe/KqZ1HK/pxyvpi 1LmUZie0HKiL/6PPPnxYOPaMwsYaQis06gWMkOSKi8zOutdgGFwVW9CJMe/Gy3oMiT amNgcEJ6dyX6pB2Nct7GZmWS2AkkUbGeIIrCXgxA= Date: Tue, 18 Jun 2019 15:55:36 +0800 From: Shawn Guo To: Manivannan Sadhasivam Cc: s.hauer@pengutronix.de, robh+dt@kernel.org, festevam@gmail.com, kernel@pengutronix.de, linux-imx@nxp.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, pbrobinson@gmail.com, yossi@novtech.com Subject: Re: [PATCH v2 2/2] ARM: dts: Add support for 96Boards Meerkat96 board Message-ID: <20190618075534.GI29881@dragon> References: <20190613132705.5150-1-manivannan.sadhasivam@linaro.org> <20190613132705.5150-3-manivannan.sadhasivam@linaro.org> <20190614114433.GA24166@Mani-XPS-13-9360> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190614114433.GA24166@Mani-XPS-13-9360> 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 Fri, Jun 14, 2019 at 05:14:33PM +0530, Manivannan Sadhasivam wrote: > Hi Shawn, > > On Thu, Jun 13, 2019 at 06:57:05PM +0530, Manivannan Sadhasivam wrote: > > Add devicetree support for 96Boards Meerkat96 board from Novtech. This > > board is one of the Consumer Edition boards of the 96Boards family based > > on i.MX7D SoC. Following are the currently supported features of the > > board: > > > > * uSD > > * WiFi/BT > > * USB > > > > More information about this board can be found in 96Boards product page: > > https://www.96boards.org/product/imx7-96/ > > > > Signed-off-by: Manivannan Sadhasivam > > --- > > arch/arm/boot/dts/Makefile | 1 + > > arch/arm/boot/dts/imx7d-meerkat96.dts | 389 ++++++++++++++++++++++++++ > > 2 files changed, 390 insertions(+) > > create mode 100644 arch/arm/boot/dts/imx7d-meerkat96.dts > > > > diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile > > index f4f5aeaf3298..3018a763dbd1 100644 > > --- a/arch/arm/boot/dts/Makefile > > +++ b/arch/arm/boot/dts/Makefile > > @@ -579,6 +579,7 @@ dtb-$(CONFIG_SOC_IMX7D) += \ > > imx7d-cl-som-imx7.dtb \ > > imx7d-colibri-emmc-eval-v3.dtb \ > > imx7d-colibri-eval-v3.dtb \ > > + imx7d-meerkat96.dtb \ > > imx7d-nitrogen7.dtb \ > > imx7d-pico-hobbit.dtb \ > > imx7d-pico-pi.dtb \ > > diff --git a/arch/arm/boot/dts/imx7d-meerkat96.dts b/arch/arm/boot/dts/imx7d-meerkat96.dts > > new file mode 100644 > > index 000000000000..a86dc4878e44 > > --- /dev/null > > +++ b/arch/arm/boot/dts/imx7d-meerkat96.dts > > @@ -0,0 +1,389 @@ > > +// SPDX-License-Identifier: GPL-2.0+ OR MIT > > +/* > > + * Copyright (C) 2019 Linaro Ltd. > > + */ > > + > > +/dts-v1/; > > + > > +#include "imx7d.dtsi" > > + > > +/ { > > + model = "96Boards Meerkat96 Board"; > > + compatible = "novtech,imx7d-meerkat96", "fsl,imx7d"; > > + > > + chosen { > > + stdout-path = &uart6; > > + }; > > + > > + memory@80000000 { > > + device_type = "memory"; > > + reg = <0x80000000 0x20000000>; /* 512MB */ > > + }; > > + > > + reg_wlreg_on: regulator-wlreg-on { > > + compatible = "regulator-fixed"; > > + pinctrl-names = "default"; > > + pinctrl-0 = <&pinctrl_wlreg_on>; > > + regulator-name = "wlreg_on"; > > + regulator-min-microvolt = <3300000>; > > + regulator-max-microvolt = <3300000>; > > + startup-delay-us = <100>; > > + gpio = <&gpio6 15 GPIO_ACTIVE_HIGH>; > > + enable-active-high; > > + 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_usb_otg1_vbus: regulator-usb-otg1-vbus { > > + compatible = "regulator-fixed"; > > + regulator-name = "usb_otg1_vbus"; > > + regulator-min-microvolt = <5000000>; > > + regulator-max-microvolt = <5000000>; > > + }; > > + > > + reg_usb_otg2_vbus: regulator-usb-otg2-vbus { > > + compatible = "regulator-fixed"; > > + regulator-name = "usb_otg2_vbus"; > > + regulator-min-microvolt = <5000000>; > > + regulator-max-microvolt = <5000000>; > > + gpio = <&gpio1 2 GPIO_ACTIVE_HIGH>; > > + enable-active-high; > > + }; > > + > > + sw1a_reg: sw1a { > > + compatible = "regulator-fixed"; > > Actually I was wrong here. This is not a fixed regulator node as the voltage > level varies. Since there is no PMIC support exist now, can I remove this node? > Or I should make it as fixed 0.7v? I dropped it (&cpu0 as well) and applied both patches. You can add it later when you have the right information about it. Shawn