Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp3396527pxb; Tue, 20 Apr 2021 07:28:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJydxr/dBiJaIAg/w/TR8YGznZyvqtgn7/lo/cenjWuCLoQsLIleCowZ7RxbCTzfJyinGp2F X-Received: by 2002:a05:6a00:174a:b029:25d:642e:8201 with SMTP id j10-20020a056a00174ab029025d642e8201mr14100984pfc.59.1618928897374; Tue, 20 Apr 2021 07:28:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618928897; cv=none; d=google.com; s=arc-20160816; b=UZM2G1lxXj31alg9l9Yo5itBUgOhK+eK+vAGLGf+yTZilMOTwSgQ3jkc5grxuaqYpa Zn2SgsBkXB4XW7YV/uU0wstc5pC0HOC7sdH2WBR72X7grQnYbrT3CFpiuFpGumzNoN62 d7D+r6CqXNTd6sIbyP6Av80IQxa6mZ6zueUbLAHAJyg9dPjYZbRGVx+iidZOv985gKA9 ct9KiH2lkvBxDGbT7afS3z8/NNrx+LCZaB7xy4zj40A4AQOQT5DfUcTVs49UvqjlfAQ1 Dq7891yTOutFfQIXi4oXebE03Pk+tsxYSb+Mmgz+tcORm7O3s87/rvGn8XuweXFQRUrf XsNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=2OP51eQPmA2v/Axf9XtUd+B6i5qCHxFde65D8J1wyZg=; b=O7jlREZ90LM0IZXhQyxpcw/KeMRhn6FXI5bW1BCjySC/h3QiebzakGvpWhYIoqz0wl 7HMmlWFZDJqjpEa6Un/E6FcWwJzwM6q0qY7x+2P0pQPmyEFMM2tBIZJHuZ/6A64PJlYG uz7Ukq8ihHlXsydcgr9Jr1rYYHAr342sTUPJL3NgGiYsnZ031YY8Bm8bN9NatjVPX4Ki L79gyurc9yfWA6uCxsq+cMj5aYL4uC726RwBBYl9DqIjBy1yJQyEkcR3FQZAyzmZ/8+4 v0zmyvnPZXd91Xk2puK58PAm8+dJ5RkDUqXAUX8kzFtBAAY1wW2JYkGcV9hp7uVg9z1m k91w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Z46uel55; 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 q11si20153887pgg.173.2021.04.20.07.28.04; Tue, 20 Apr 2021 07:28:17 -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=20161025 header.b=Z46uel55; 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 S232611AbhDTO1v (ORCPT + 99 others); Tue, 20 Apr 2021 10:27:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51074 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231758AbhDTO1u (ORCPT ); Tue, 20 Apr 2021 10:27:50 -0400 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9330BC06174A; Tue, 20 Apr 2021 07:27:18 -0700 (PDT) Received: by mail-lf1-x132.google.com with SMTP id r128so34787584lff.4; Tue, 20 Apr 2021 07:27:18 -0700 (PDT) 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=2OP51eQPmA2v/Axf9XtUd+B6i5qCHxFde65D8J1wyZg=; b=Z46uel55L3Pi98OUkDhOokQ4LpvljzcjAA6huSHhwTg9l42PnLzkXLfUURi77NZlKx 647qV39IcmyIbGXt5yylVavoCXlBggb2FOZf9P9Lzs10FuorQuM5hEx1SHq8MZgu437L /9vRSfs/Eg1pW/TqVq1SFQGWDCLqtXf16Uz21FJXpfcg+7LPINNmA9h2QkpuL6/f2Fq+ 8Nxrobaj75iR5oVapq2zzrPxD3PmzWIIhNPm6pgAn5jJpqmxy8QD9OmXPLDH4+8meZQl RuxLhp0qCgJ6UgFUG7eNKq2EwJ7dgvoof1TV4R4czSf1Q/id1Pm8EG+T+aazm4anGlEw DsCA== 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=2OP51eQPmA2v/Axf9XtUd+B6i5qCHxFde65D8J1wyZg=; b=XtGj4G+Uj4oILMH5LSbekydI3FvIzSIKBVk+qVLCzu07Xzhtc2vHQ23O8RsMMyRChE ae24zB3Ny3tjR9/fgK257/mGPSDaAlQ6CcP+cGp+0azMqbt48GmJN9LwXp57ovLhDKGz 2VwMN7JJuTIofhluP7W9fpygoqTwlTMlSl3SL6z15K/TRD2bXZAIuITX49OfTBsdLb/Q 7MbreeS2zO8Vvq2W8VqmNQJjc5AaEiWMK25biv8RNTBis2l6IOwhEHlO4sOFzUSAcP5A p0F/nHGgY0bKr6t8rpH2X6y40GDRLw5dK6BBaTdUkxlupjss+AeZMDJbMs9Wr+kwo2iS QT/A== X-Gm-Message-State: AOAM530DAYJ23iNER75Km1zGTmozD46Te91ODeV/yKg9EP2VEW7fj5q+ n4MQlFPoUBX5VNjAirP9vq9niDpHMu5TMO53qB4= X-Received: by 2002:a05:6512:1105:: with SMTP id l5mr15305227lfg.223.1618928837100; Tue, 20 Apr 2021 07:27:17 -0700 (PDT) MIME-Version: 1.0 References: <1618459535-8141-1-git-send-email-dillon.minfei@gmail.com> <1618459535-8141-4-git-send-email-dillon.minfei@gmail.com> In-Reply-To: <1618459535-8141-4-git-send-email-dillon.minfei@gmail.com> From: Fabio Estevam Date: Tue, 20 Apr 2021 11:27:05 -0300 Message-ID: Subject: Re: [PATCH v3 3/4] arm: dts: imx: Add i.mx6q DaSheng COM-9XX SBC board support To: dillon.minfei@gmail.com Cc: krzysztof.kozlowski@canonical.com, Rob Herring , Shawn Guo , Krzysztof Kozlowski , Oleksij Rempel , Stefan Riedmueller , Matthias Schiffer , leoyang.li@nxp.com, arnd@arndb.de, olof@lixom.net, s.hauer@pengutronix.de, kernel@pengutronix.de, prabhakar.csengg@gmail.com, mchehab@kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-imx@nxp.com, linux-media@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Dillon, On Thu, Apr 15, 2021 at 1:05 AM wrote: > + green { > + gpios = <&gpio4 8 0>; Please use GPIO_ACTIVE_HIGH label instead: gpios = <&gpio4 8 GPIO_ACTIVE_HIGH>; > +&clks { > + assigned-clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>, > + <&clks IMX6QDL_CLK_LDB_DI1_SEL>; > + assigned-clock-parents = <&clks IMX6QDL_CLK_PLL3_USB_OTG>, > + <&clks IMX6QDL_CLK_PLL3_USB_OTG>; > +}; You are setting the LDB clock parent, but you don't use LDB in this devicetree. You could simply remove this. > +&ecspi1 { > + cs-gpios = <&gpio4 9 GPIO_ACTIVE_LOW>; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_ecspi1>; > + status = "okay"; > + > + flash: m25p80@0 { Node names should be generic: m25p80: flash@0 > +&iomuxc { > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_hog>; > + > + imx6qdl-ds { > + pinctrl_hog: hoggrp { > + fsl,pins = < > + MX6QDL_PAD_NANDF_D0__GPIO2_IO00 0x1b0b0 > + MX6QDL_PAD_NANDF_D1__GPIO2_IO01 0x1b0b0 > + MX6QDL_PAD_GPIO_0__CCM_CLKO1 0x130b0 This could be part of the pinctrl_ov2659 group as it provides the clock for the camera. Please try to keep in the hoggrp only the pins that cannot be controlled by any other node. > +&wdog1 { > + status = "okay"; > +}; > + > +&wdog2 { > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_wdog>; > + fsl,ext-reset-output; > + status = "disabled"; Wouldn't it be better to enable wdog2 and disable wdog1 instead? wdog2 provides a POR, which is preferred.