Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp3194135imm; Sun, 7 Oct 2018 22:52:45 -0700 (PDT) X-Google-Smtp-Source: ACcGV624TXMKlWNZuhKlryc9cch1ZY4uofSFAfzn45A6Vz4Os/6fS6gPZV6vBQcN9rOsHNf0SdmF X-Received: by 2002:a62:9402:: with SMTP id m2-v6mr23763652pfe.255.1538977965052; Sun, 07 Oct 2018 22:52:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538977965; cv=none; d=google.com; s=arc-20160816; b=der0M5piJGg0b6cxxzGsWMkbHdtTS471RCe2+32si0zqk2NMzl/7+hlvRuP8rBfAGV pduwvEEWoMKpqZ92TShuQir64P6O5qtdRnyHerTx7vs0mDaUmR0Dmd56YrRop9ACDyoD K8wQTkyhGRAXz39UZy36iW/94kG+/EOshxQzfDJouVjUNOa/5Zqt8Ux+rp/PAwKZYTbl i5/8Tq0SNuPsqE077mS0yW/Jt8zCfUDoEC+h+TAUu77Q7I9j+lwoQLfnAqDY3BdGaj7n IsUMG9Dk4nDR8t775qWXF1nY476mkVnhnlSVbBlqy99RxQwkAX0zNtieldGjdYHNe/M1 ZLzQ== 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=XQReWKJTS6Z0wI9KF5tnYMAPYT0XriXEVD9TghxNrbw=; b=V8ng3dUe0tn2IXqSYCvPA6AF3g0v13wsinWgzD0lVFvqTr16xcsyUl4ZAB1D4qFuMk 30a73hZ7XzZKIrwJwE4Oqvx1fRNZDCcU3HsR9qWv2apQKS5nTIp+XpgeqjscJZs1IwLR C9GSDCQAHXHR9989qYjWTfQnBg+WkJCEc86M1P1w6Ccfxmw7aALJ5u+VXHprg7EqAiLs LvB0H8L22OVZINm0+lvpWGgcW6CLtWMXI2KiuyASG2qu9ti0v816PKWjR+jWgh5blUr9 9Jwh1HzEzDdCFJyyvCeJl0/5XdUydmYS7ku2DIqPGXcPP5HjBFHrWmgk/CTWYC8kFVIS PwuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=sJA04GC+; 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 a7-v6si16427470plz.102.2018.10.07.22.52.29; Sun, 07 Oct 2018 22:52:45 -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=sJA04GC+; 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 S1726296AbeJHNCW (ORCPT + 99 others); Mon, 8 Oct 2018 09:02:22 -0400 Received: from mail.kernel.org ([198.145.29.99]:50614 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725857AbeJHNCW (ORCPT ); Mon, 8 Oct 2018 09:02:22 -0400 Received: from dragon (unknown [45.56.155.247]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C85302085B; Mon, 8 Oct 2018 05:52:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1538977943; bh=v1ZfrDQruHnH6RL7RayS9eX9tDT9/ZoJFD4wLUvUrlY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=sJA04GC+K6jhrHzsvSx4HOK7CUbZQH89igFvhGxblAbYitGbmWwq27fLyIvMFF+ms Hxyd0TTJb/jkcIPRI69Ok9XnBOdhdZJdjsxHtpDBN0Irf4RFV/NmZFApIWq4BdXzqR aYua7tMo/mgE2I/cMhKip7c7pzv+YHNNdYvGd2jo= Date: Mon, 8 Oct 2018 13:52:01 +0800 From: Shawn Guo To: Vabhav Sharma Cc: sudeep.holla@arm.com, oss@buserror.net, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, mturquette@baylibre.com, sboyd@kernel.org, rjw@rjwysocki.net, viresh.kumar@linaro.org, linux-clk@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel-owner@vger.kernel.org, catalin.marinas@arm.com, will.deacon@arm.com, gregkh@linuxfoundation.org, arnd@arndb.de, kstewart@linuxfoundation.org, yamada.masahiro@socionext.com, leoyang.li@nxp.com, linux@armlinux.org.uk, V.Sethi@nxp.com, udit.kumar@nxp.com, pankaj.bansal@nxp.com, Priyanka Jain , Sriram Dash Subject: Re: [PATCH v4 6/6] arm64: dts: add LX2160ARDB board support Message-ID: <20181008055159.GH3587@dragon> References: <1538615031-7507-1-git-send-email-vabhav.sharma@nxp.com> <1538615031-7507-7-git-send-email-vabhav.sharma@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1538615031-7507-7-git-send-email-vabhav.sharma@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 Thu, Oct 04, 2018 at 06:33:51AM +0530, Vabhav Sharma wrote: > LX2160A reference design board (RDB) is a high-performance > computing, evaluation, and development platform with LX2160A > SoC. > > Signed-off-by: Priyanka Jain > Signed-off-by: Sriram Dash > Signed-off-by: Vabhav Sharma > --- > arch/arm64/boot/dts/freescale/Makefile | 1 + > arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts | 100 ++++++++++++++++++++++ > 2 files changed, 101 insertions(+) > create mode 100644 arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts > > diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile > index 86e18ad..445b72b 100644 > --- a/arch/arm64/boot/dts/freescale/Makefile > +++ b/arch/arm64/boot/dts/freescale/Makefile > @@ -13,3 +13,4 @@ dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2080a-rdb.dtb > dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2080a-simu.dtb > dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2088a-qds.dtb > dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2088a-rdb.dtb > +dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-lx2160a-rdb.dtb > diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts > new file mode 100644 > index 0000000..1483071 > --- /dev/null > +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts > @@ -0,0 +1,100 @@ > +// SPDX-License-Identifier: (GPL-2.0 OR MIT) > +// > +// Device Tree file for LX2160ARDB > +// > +// Copyright 2018 NXP > + > +/dts-v1/; > + > +#include "fsl-lx2160a.dtsi" > + > +/ { > + model = "NXP Layerscape LX2160ARDB"; > + compatible = "fsl,lx2160a-rdb", "fsl,lx2160a"; > + > + chosen { > + stdout-path = "serial0:115200n8"; > + }; > + > + sb_3v3: regulator-fixed { The node name should probably be named like regulator-sb3v3 or something, so that the pattern can be followed when we have another fixed regulator to be added. > + compatible = "regulator-fixed"; > + regulator-name = "fixed-3.3V"; The name should be something we can find on board schematics. > + regulator-min-microvolt = <3300000>; > + regulator-max-microvolt = <3300000>; > + regulator-boot-on; > + regulator-always-on; > + }; > + > +}; > + > +&uart0 { > + status = "okay"; > +}; > + > +&uart1 { > + status = "okay"; > +}; > + > +&i2c0 { Please keep these labeled nodes sorted alphabetically. > + status = "okay"; Have a newline between properties and child node. > + i2c-mux@77 { > + compatible = "nxp,pca9547"; > + reg = <0x77>; > + #address-cells = <1>; > + #size-cells = <0>; > + > + i2c@2 { > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0x2>; > + > + power-monitor@40 { > + compatible = "ti,ina220"; > + reg = <0x40>; > + shunt-resistor = <1000>; > + }; > + }; > + > + i2c@3 { > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0x3>; > + > + temperature-sensor@4c { > + compatible = "nxp,sa56004"; > + reg = <0x4c>; > + vcc-supply = <&sb_3v3>; > + }; > + > + temperature-sensor@4d { > + compatible = "nxp,sa56004"; > + reg = <0x4d>; > + vcc-supply = <&sb_3v3>; > + }; > + }; > + }; > +}; > + > +&i2c4 { > + status = "okay"; > + > + rtc@51 { > + compatible = "nxp,pcf2129"; > + reg = <0x51>; > + // IRQ10_B > + interrupts = <0 150 0x4>; > + }; Bad indentation. Shawn > + > +}; > + > +&usb0 { > + status = "okay"; > +}; > + > +&usb1 { > + status = "okay"; > +}; > + > +&crypto { > + status = "okay"; > +}; > -- > 2.7.4 >