Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp4826469pxb; Tue, 2 Nov 2021 16:56:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx22dkyR4ISZq+tUVkVV2wPBHgVK3ZPnTcgWktkSfKsZ8R43VitHQPqCB4vQwEAkPG9sMmv X-Received: by 2002:a02:ba8f:: with SMTP id g15mr7574882jao.62.1635897364678; Tue, 02 Nov 2021 16:56:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635897364; cv=none; d=google.com; s=arc-20160816; b=d9iP3TC+NsdhhfM22t1Hsch0Ri1gihsh1L9XAJh8PYJiePFbn2aMhUtU4ex5G/h8NM 8P5oypWVHOeyQsk815nivHw8VrMIQfGSFrQNg9ShV/glWPUAcpmZwlTkmMrWyXskMT3d PGw15YU5ECujYAXCtJ8aCA4oB+qYp8oQ4H1OhH5FXE7gz/9EtHmGzwOWZTzso1RQpaMi IRO/5ZbZiI+sQcaBVME0Dq07Hpwe6yBs46SQ2w8ZIryxvlsQLMGK5E0HS4mLA7gZ0Eqz rdBdX3byPr21HunOHxWMD3QWR6UUbQsCkV89TfPEK4CiUnZtHBm8j4HHjrNkIXE5vKZ9 wLog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=LUJiTUBUz+nDDvCf1YrbjU2s+1FnYiIkeo+EME3kWwE=; b=v4Psr4aTXx5rWUMawaOZ2PjV/rCdgAV4ion65/Fe2AaYwZhrMD70DKV8K/COQP7v2M +t82Chvqs3UCzk735SgrrDh8NcMl5Dv7xx3iUq4RSX+lqglxjInqI2fFNLhOB6WrKqoD 2966oc8gheML4ngSk6IkcsFcQ3z9+OZg1X2MgpXPLaCHBogpNT1sJt11y8GW6k305w2k D1JXyXZiXIpJYp/yfpLdWI59UvDMIhesKxir0h2VpFlyh/CN0XZ8WZsK1fHR+x7x8ns0 JIXkVR5tvlgqi8x9dGQv6rJnRa9xyLewS/E9o2Hg3rjIz25QuS3aStf4YhjgaMFTyrS2 R3Cw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="BNApYS/c"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id h12si611702jaj.14.2021.11.02.16.55.53; Tue, 02 Nov 2021 16:56:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="BNApYS/c"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S230518AbhKBX5M (ORCPT + 99 others); Tue, 2 Nov 2021 19:57:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229960AbhKBX5L (ORCPT ); Tue, 2 Nov 2021 19:57:11 -0400 Received: from mail-qk1-x732.google.com (mail-qk1-x732.google.com [IPv6:2607:f8b0:4864:20::732]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 46219C061714; Tue, 2 Nov 2021 16:54:36 -0700 (PDT) Received: by mail-qk1-x732.google.com with SMTP id ay20so689368qkb.7; Tue, 02 Nov 2021 16:54:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=LUJiTUBUz+nDDvCf1YrbjU2s+1FnYiIkeo+EME3kWwE=; b=BNApYS/cqy5Q8pdJ6jerjEhOsDIbqWdYf8uPLunlFYkDoZhIBYDV7KLx9u1GGpwkbx VDeMVUv2ZWvR9TRrck38B+vOyhfL9gTBUy629STDqNUMp1uGHHayoc7tZXW8D6YU6To9 kUvOO+J/uKtfxlmdUxI+rWQFwuy7C+ika/nna4YYGHKvLgLcTPbT6GxAQLPmCbwaoUg1 6fyU5H9l69w0bBtEA1OhYyxBIrSSOoXKjB1V27h1u8Cykxgs0k6m2y8CLpIlhK1dFLW4 tSNxarNGJIzfTiMXyL/IoiAOFpa+k+W9VH7iCSucuZNt0iM7bA1bkFYZdkr7zuLJGx5t FSbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=LUJiTUBUz+nDDvCf1YrbjU2s+1FnYiIkeo+EME3kWwE=; b=sWQ9curxuOlQcjmc4DU6GSxlQ+FlatpwLvk+kDmrC2A49c+HhVg4SQd2x4qEr7Oqu2 iwqztHwN2Spa0BUNbA7ptmo5BJQg+kkmwG7pSJzaKvC+m4PC/fnFjkUZLL/9IM3MR8Fx K9wt3szx45E1ko6ysxGmpMv/OGImPMDxp/30NrRj/yuZM2SK03MPOz/5hwrnBdAYeCXl RFaKgo0CvsgK9sM/7QdrM82EhlEQ1p+ADmiub7SnnUu5tI9+KApJ4WU4WR4hV/vaKmeI sl+G5LyOmAI3Bnad/KRFG1hJ9Wq7y/7HQEcvRkjmreA60NxlLq4SzstpbqRbeSFQIn9g weqQ== X-Gm-Message-State: AOAM531ifXzUvh1XvqBwYUz4M0JYtxlPYwrRiMiIt41iFk8ILnsBW2/R g59qxz5pbgYMbcMQo7tbNFk= X-Received: by 2002:a05:620a:4150:: with SMTP id k16mr16278131qko.186.1635897275437; Tue, 02 Nov 2021 16:54:35 -0700 (PDT) Received: from [10.4.10.38] (146-115-144-188.s4282.c3-0.nwt-cbr1.sbo-nwt.ma.cable.rcncustomer.com. [146.115.144.188]) by smtp.gmail.com with ESMTPSA id w1sm382768qtj.28.2021.11.02.16.54.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 02 Nov 2021 16:54:35 -0700 (PDT) Message-ID: Date: Tue, 2 Nov 2021 19:54:33 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.1 Subject: Re: [PATCH v2 12/13] ARM: dts: imx: add i.MXRT1050-EVK support Content-Language: en-US To: Fabio Estevam Cc: NXP Linux Team , Michael Turquette , Stephen Boyd , Rob Herring , Shawn Guo , Sascha Hauer , Sascha Hauer , Ulf Hansson , Dong Aisheng , Stefan Agner , Linus Walleij , Greg Kroah-Hartman , Arnd Bergmann , Olof Johansson , soc@kernel.org, Russell King - ARM Linux , Abel Vesa , Adrian Hunter , Jiri Slaby , Giulio Benetti , Nobuhiro Iwamatsu , linux-clk , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , linux-kernel , linux-mmc , "open list:GPIO SUBSYSTEM" , linux-serial@vger.kernel.org References: <20211102225701.98944-1-Mr.Bossman075@gmail.com> <20211102225701.98944-13-Mr.Bossman075@gmail.com> From: Jesse Taube In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/2/21 19:42, Fabio Estevam wrote: > On Tue, Nov 2, 2021 at 7:57 PM Jesse Taube wrote: > >> +/ { >> + model = "NXP IMXRT1050-evk board"; >> + compatible = "fsl,imxrt1050-evk", "fsl,imxrt1050"; >> + >> + chosen { >> + bootargs = "root=/dev/ram"; > > No need to pass bootargs here. > >> + stdout-path = &lpuart1; >> + }; >> + >> + aliases { >> + gpio0 = &gpio1; >> + gpio1 = &gpio2; >> + gpio2 = &gpio3; >> + gpio3 = &gpio4; >> + gpio4 = &gpio5; >> + mmc0 = &usdhc1; >> + serial0 = &lpuart1; >> + }; >> + >> + memory@0 { > > memory@80000000 > > Building with W=1 should give a dtc warning due to the unit address > and reg mismatch. Oh that makes sense. I guess I'm going to have to figure out how to get warnings to work as I couldn't last time I tried. > >> + device_type = "memory"; >> + reg = <0x80000000 0x2000000>; >> + }; >> + > > Unneeded blank line. >> + >> +&iomuxc { >> + pinctrl-names = "default"; >> + >> + imxrt1050-evk { > > No need for this imxrt1050-evk container. I was wondering if that was needed, u-boot has it, good to know. > >> + pinctrl_lpuart1: lpuart1grp { >> + fsl,pins = < >> + MXRT1050_IOMUXC_GPIO_AD_B0_12_LPUART1_TXD >> + 0xf1 > > Put it on a single line. It helps readability. Same applies globally. >> +&usdhc1 { >> + pinctrl-names = "default", "state_100mhz", "state_200mhz", "sleep"; >> + pinctrl-0 = <&pinctrl_usdhc0>; >> + pinctrl-1 = <&pinctrl_usdhc0>; >> + pinctrl-2 = <&pinctrl_usdhc0>; >> + pinctrl-3 = <&pinctrl_usdhc0>; >> + status = "okay"; >> + >> + cd-gpios = <&gpio2 28 GPIO_ACTIVE_LOW>; > > Make 'status' to be the last property. Remove the blank line. > >> + edma1: dma-controller@400e8000 { >> + #dma-cells = <2>; >> + compatible = "fsl,imx7ulp-edma"; >> + reg = <0x400e8000 0x4000>, >> + <0x400ec000 0x4000>; >> + dma-channels = <32>; >> + interrupts = <0>, >> + <1>, >> + <2>, >> + <3>, >> + <4>, >> + <5>, >> + <6>, >> + <7>, >> + <8>, >> + <9>, >> + <10>, >> + <11>, >> + <12>, >> + <13>, >> + <14>, >> + <15>, >> + <16>; > > Please group more elements into the same line. > > Putting one entry per line makes it extremely long. > >> + gpio5: gpio@400c0000 { >> + compatible = "fsl,imxrt-gpio", "fsl,imx35-gpio"; >> + reg = <0x400c0000 0x4000>; >> + interrupts = <88>, >> + <89>; > > Put the interrupts into a single line. > Ah all these make sense, will fix, sry about that.