Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3602145imu; Fri, 18 Jan 2019 13:21:32 -0800 (PST) X-Google-Smtp-Source: ALg8bN4OPrfdjBqb4qImjox0yj1/tXzKeH6Ipxf1aFYRQ8tGRuvVvMyW7mMR633bsYomSwi64uJa X-Received: by 2002:a62:824c:: with SMTP id w73mr10372143pfd.150.1547846491981; Fri, 18 Jan 2019 13:21:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547846491; cv=none; d=google.com; s=arc-20160816; b=z+BfQNQM/CwVa4ioRa0JqNMdO+nNVUMfqHo4fajbTHv854jSqdejZRvKDQiGEtMZPA q0Urs0TL39eN8wAEaningjUsupGlwMS/sM5vEUcTZUd5njVEpDlQs4HXBX078jJ0Dj56 f36flfmPuf8Ja9qq67/gZJNDhzsEAazn6bFRZXyJTSEwlabeqbVgOTdMRhwjdNRfcgIL kgp2mc1Dx1Yf00CHBqf6WNIhA8CBC8/Lq5aF5cfVceG+fGKlfzmNQzlN/xJ2RgmPstyT bKuUFR/8syR0vWgNmzlMXH7NmE6Y14EBwoajoJkWEkkOTRWEQcMNw+XIVdkEFuzazxl8 lWjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=r5esMmal+EyiJjppc4XekprtxYgx+syUq4ePbtc3GRY=; b=RFm+GrP6w1v3vwGqC88pCze2Dc0jzWEbE4qkxb98gr9pfRhy07NP8pyO2JiHegWgxI o/d2wAv8dc+EPekywo3vwxO4eYAorzqptroWbT9bWhhezjjZtSrjukw7rnsKmvHwDR/y Now8klnP+xUudcDHLMVoG57g07N4442REBWQszt9/XJqSDhE4F10axv0lxF888DbcOlA +JXa5VcxVsKOI9UHaTWFgUKoq9s8JYukYqIE5GiTfl/yfGcAft3+2af3NbEeeA/Ngoe4 oodkMCI/lGv0hQrcVuknw0V+EsFNTcSah2nBJ27io1MnvdyF844YuLOT2KXvcJj1BiTC iDMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=DLOqi8qG; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k11si5371812pgh.132.2019.01.18.13.21.16; Fri, 18 Jan 2019 13:21:31 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=DLOqi8qG; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729666AbfARVTK (ORCPT + 99 others); Fri, 18 Jan 2019 16:19:10 -0500 Received: from mail-ot1-f67.google.com ([209.85.210.67]:41125 "EHLO mail-ot1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729600AbfARVTI (ORCPT ); Fri, 18 Jan 2019 16:19:08 -0500 Received: by mail-ot1-f67.google.com with SMTP id u16so15648932otk.8; Fri, 18 Jan 2019 13:19:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=r5esMmal+EyiJjppc4XekprtxYgx+syUq4ePbtc3GRY=; b=DLOqi8qGJPYy2B9LlOD7twGId6dll2zgIvXdBe+v5IOpB6af94v96wZrlQbHmcKMBy HGwwuWDfeOXAYLUhk+mRRBNWfQxih4sp1P15kATLZU655N13CgbZ1w7WOjmbsJY6AlMo DX9dvq4Wnhqs6+tuRF2A9L0pPNik1E/ajl/1g0Vx3tBR0ORwBj0vqzoWZC5b/iLxQsRL k+BmhzpPdbHcExA9GoiadGa4Og9RnLrnnkTXBUO3sAkGCKs+4bZMFU6WuaHqwu9Uu/xp d3jNKOGhp+l2besos3Wcy8dEmQ0o5cJqoMU1bgFddWt4joNO9yIF0z6+6oOYsf5OUZmp 5/ww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=r5esMmal+EyiJjppc4XekprtxYgx+syUq4ePbtc3GRY=; b=jEbcqRVYuX+aQmPgOmimkbqpaijSlosEvJ5q6ymvwg8ANivHxONTWjCaxkLRzNH+Ds lozRYNDihsRTtr4iDxGoeIG3DEI8gUZN2ZcPtPMRYDiHRoz3EQoL3VMBk4vPignkrw6I SW1TMqgmatxyaBm1fSm3b9hOxcsyNPHNMuZoV9fTNZGiDqDJFcpjssi6VhZVkpigpEz4 YCpuP0jqhA/bpPu9lzPVW1HUfnNzL17MaI2/rSsHfxoBoLncGgraMslShnXoRP39xLAZ Cxw78O/T1KeQCzDHpcjTRI0yWySZeWzj7pd6PxYx40PyZ2iEJbRwEzyd6QcV9xxsuQuT /zEg== X-Gm-Message-State: AJcUukckeRPpPYdHJwpwryprWTVhiVFjChZEe3AJirNSWyElD286IqiK 4/5KQ/LZZ13TBhenxZd2INa+447pXVfB/1ewh0Q= X-Received: by 2002:a9d:5d2:: with SMTP id 76mr12517903otd.78.1547846346709; Fri, 18 Jan 2019 13:19:06 -0800 (PST) MIME-Version: 1.0 References: <20190118194812.3319-1-martyn.welch@collabora.com> <20190118194812.3319-2-martyn.welch@collabora.com> In-Reply-To: <20190118194812.3319-2-martyn.welch@collabora.com> From: Fabio Estevam Date: Fri, 18 Jan 2019 19:18:55 -0200 Message-ID: Subject: Re: [PATCH v2 2/2] ARM: dts: imx6: Add support for Phytec phyBOARD i.MX6UL Segin To: Martyn Welch Cc: Shawn Guo , Sascha Hauer , Rob Herring , Mark Rutland , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , =?UTF-8?Q?Stefan_Riedm=C3=BCller?= , linux-kernel , NXP Linux Team , Pengutronix Kernel Team , Christian Hemp , Fabio Estevam , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Martyn, On Fri, Jan 18, 2019 at 5:49 PM Martyn Welch wrote: > + /* > + * Set the minimum memory size here and > + * let the bootloader set the real size. > + */ > + memory { Need to pass device_type = "memory"; > + reg = <0x80000000 0x8000000>; > + }; > +&uart1 { > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_uart1>; > + status = "okay"; > +}; > + > +&iomuxc { > + pinctrl-names = "default"; Uneeded line. > + > + pinctrl_enet1: enet1grp { > +&iomuxc { > + pinctrl_gpio_keys: gpio_keysgrp { > + fsl,pins = < > + MX6UL_PAD_SNVS_TAMPER0__GPIO5_IO00 0x79 > + >; > + }; > + > + pinctrl_user_leds: user_ledsgrp { > + fsl,pins = < > + MX6UL_PAD_JTAG_MOD__GPIO1_IO10 0x79 > + MX6UL_PAD_GPIO1_IO01__GPIO1_IO01 0x79 > + >; > + }; > +}; > diff --git a/arch/arm/boot/dts/imx6ul-phytec-phyboard-segin-full.dts b/arch/arm/boot/dts/imx6ul-phytec-phyboard-segin-full.dts > new file mode 100644 > index 000000000000..83cdf4fa10c0 > --- /dev/null > +++ b/arch/arm/boot/dts/imx6ul-phytec-phyboard-segin-full.dts > @@ -0,0 +1,96 @@ > +// SPDX-License-Identifier: GPL-2.0 > +/* > + * Copyright (C) 2016 PHYTEC Messtechnik GmbH > + * Author: Christian Hemp > + */ > + > +/dts-v1/; > +#include "imx6ul-phytec-pcl063.dtsi" > +#include "imx6ul-phytec-phyboard-segin.dtsi" > +#include "imx6ul-phytec-peb-eval-01.dtsi" > + > +/ { > + model = "Phytec phyBOARD-Segin i.MX6 UltraLite Full Featured"; > + compatible = "phytec,imx6ul-pbacd10", "phytec,imx6ul-pcl063", > + "fsl,imx6ul"; Better keep it in a single line? > +&ecspi3 { > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_ecspi3>; > + cs-gpios = <&gpio1 20 GPIO_ACTIVE_HIGH>; > + status = "okay"; > + > + spidev@0 { > + compatible = "spidev"; Doesn't the kernel complain about spidev dts nodes? > +}; > diff --git a/arch/arm/boot/dts/imx6ul-phytec-phyboard-segin.dtsi b/arch/arm/boot/dts/imx6ul-phytec-phyboard-segin.dtsi > new file mode 100644 > index 000000000000..bccabb84c9f6 > --- /dev/null > +++ b/arch/arm/boot/dts/imx6ul-phytec-phyboard-segin.dtsi > @@ -0,0 +1,330 @@ > +// SPDX-License-Identifier: GPL-2.0 > +/* > + * Copyright (C) 2016 PHYTEC Messtechnik GmbH > + * Author: Christian Hemp > + */ > + > +/ { > + model = "Phytec phyBOARD-Segin i.MX6 UltraLite"; > + compatible = "phytec,imx6ul-pbacd-10", "phytec,imx6ul-pcl063", > + "fsl,imx6ul"; Single line? > +&i2c1 { > + codec: tlv320@18 { Node names should be generic and label names specific, so: tlv320: codec@18 > + compatible = "ti,tlv320aic3007"; > + #sound-dai-cells = <0>; > + reg = <0x18>; > + AVDD-supply = <®_sound_3v3>; > + IOVDD-supply = <®_sound_3v3>; > + DRVDD-supply = <®_sound_3v3>; > + DVDD-supply = <®_sound_1v8>; > + status = "disabled"; > + }; > + > + stmpe: stmpe@44 { touchscreen@44