Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp68169pxy; Tue, 20 Apr 2021 20:51:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzZ4W2buKVxGf6CD5YWVyboeGl+T3MTPp5Lks6RkkgAAsZC460Z+d/XtRz12+XW7wE2rb02 X-Received: by 2002:a17:902:7005:b029:ec:aead:23fa with SMTP id y5-20020a1709027005b02900ecaead23famr10684889plk.30.1618977081042; Tue, 20 Apr 2021 20:51:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618977081; cv=none; d=google.com; s=arc-20160816; b=sl3uUT9iJ1NWOD8BDL4LW5bjqohyEuF2KE02cXXUi31AfdU3MgFklHIeOQ/uSz+3yu n1m7rW6Ezr8jimeGfpKse+11YGSIG3mZnbyV9mfpT6BI6ZWAU/zbEioi3VP5/2rNcpZW A1YJinSNQpZw9oqUmG7meyboqrbrnxTlxVd/Xb60ejcbi9WZ+nXxv/SKc5jfOqwuAuIw hAxBP/vF77T4EN+sV3ScZtRDfvzAZE4pNJZWprzleeMXCnA8okRnCMoHS0dkaHQzVl/+ 9sQA8vRPFfGFtJzA2y2fC6UWDWf0pYPctX2IBuZRlXJvrURfsGT4G2vthOB3dhlN05V3 YXxg== 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=HUL5iOZc28qAX3PsDJ0khNs1c1kb23x81GpeZXPZHr0=; b=vb3ToCTEit2Rhwj2NWekiQx6sE7DAtEHKARBLxrrq/Gno8va6udlzaqf4z4mkBEL3E vLJvng6Msjo8dD7QXinKC4LJ9cZ9FfLyJ9Jizr9npMS1WlWg0MWahoyLOCd3u7aECWVT kmE8vcITS6EqpvqDWDxFZswCaifOT6//PEK3xaNaFUEkg41IU1vdoO2q6ZDyOvHXL9Kr aeyLcEWTDzLxfMEY1Oj/k4gFDAFFMXBnXI0SacZHRJKEBdM/S6Toi1sMu//MrwyK294N epkq+/G3UmbRTSDjPO169QIyOnropwVYtZn6rGxgLhXi8pk6M3h2xj0JoiBpdKZPhHic iBxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=WQl3BZB2; 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 c1si1011706pjq.124.2021.04.20.20.50.49; Tue, 20 Apr 2021 20:51:21 -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=WQl3BZB2; 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 S234801AbhDUDlh (ORCPT + 99 others); Tue, 20 Apr 2021 23:41:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55804 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233874AbhDUDlh (ORCPT ); Tue, 20 Apr 2021 23:41:37 -0400 Received: from mail-io1-xd31.google.com (mail-io1-xd31.google.com [IPv6:2607:f8b0:4864:20::d31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 82112C06174A; Tue, 20 Apr 2021 20:41:03 -0700 (PDT) Received: by mail-io1-xd31.google.com with SMTP id b10so40694246iot.4; Tue, 20 Apr 2021 20:41:03 -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=HUL5iOZc28qAX3PsDJ0khNs1c1kb23x81GpeZXPZHr0=; b=WQl3BZB24dee0+iczS32i6ta8dIDUsrzhFvhRoKrmzXendrjWQ6+ymVePQXQ8eK+7J XuICOmjrS/ieQeiC7EDSYpkXk644BJZ7cWliU1vFMgqgxs5mjb5f/ElzehsFDgC/y4pV Qg9q/mFXhRQDOdZaJW+PSsQACanIHQ1OajWj2SP3/Z5Ov8t5F3PHq3rfk0rlBUgk13If OIPD96AJuZDFgx/SSYOF+pU09mna2FvEXliI0AosI8ZcRVnQHr8/ce7mxX/WzTJceFeB 8Vv8oDU2X7YKHI3K5D8PJv1eVloXMJxjzDEbjZyor553CzD9YXs4qsYkF8RJd8bckK+M H2eQ== 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=HUL5iOZc28qAX3PsDJ0khNs1c1kb23x81GpeZXPZHr0=; b=NwiLjE5gvn0vg1kXxj0lw7+EyIKiq5hYOiXmuN62pVgumf1p+zyClgSrtouJq9/+wO zVgQiIu9PLNf7RDrKIywrIOWoVqo/+3/J8y5UEYAAq+LobbhLXLAMT/Gmk2TJCNCUmLS S/GCczK/msr4VfV6s+nzez8fJNrBVFHpbrn483wxHbW6aynZjifFZSFaZsbILpwcZ8BS XYXDLN7qJNDQw8VEt+SsGxOFWYUIxoISA2Zl4FDvIju53E2Np0W1liYAz67foXT+S4B4 qE3aQ/+Ns0xwZM889beyuuMcK7TtbZLX1/K2KWJMj1NMOzUFiqStSuHIWjzZIZU5F1eX mq9Q== X-Gm-Message-State: AOAM531Pgh2MjyHt/dcoaT/u2cZHIREYNlnpPEku7YzhHR32B4HfvgZX 2WdYt7WeEFYlDw5wW338SmbvWwFoXttl3iU2Hi8= X-Received: by 2002:a05:6638:34a0:: with SMTP id t32mr24067421jal.10.1618976462773; Tue, 20 Apr 2021 20:41:02 -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: From: dillon min Date: Wed, 21 Apr 2021 11:40:26 +0800 Message-ID: Subject: Re: [PATCH v3 3/4] arm: dts: imx: Add i.mx6q DaSheng COM-9XX SBC board support To: Fabio Estevam Cc: Krzysztof Kozlowski , Rob Herring , Shawn Guo , Krzysztof Kozlowski , Oleksij Rempel , Stefan Riedmueller , Matthias Schiffer , leoyang.li@nxp.com, arnd@arndb.de, olof@lixom.net, Sascha Hauer , kernel@pengutronix.de, prabhakar.csengg@gmail.com, mchehab@kernel.org, "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux Kernel Mailing List , Linux ARM , 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 Fabio, Thanks for quick reply. On Tue, Apr 20, 2021 at 10:27 PM Fabio Estevam wrote: > > 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. Agree, thanks. > > > +&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 Agree, thanks. > > > +&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. Agree, after moving these pinctrl to corresponding component's group, the hoggrp is useless. so, I removed it in v4. > > > +&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. Agree, thanks.