Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp2186264pxb; Fri, 25 Mar 2022 12:37:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz5NKun1TyeJu6PUleYxbuynksOsq3AyXK4MLUVl2y3X91ehB6qAzuREmlapKIr6YEX59iX X-Received: by 2002:a17:902:e9d3:b0:154:6dd6:2533 with SMTP id 19-20020a170902e9d300b001546dd62533mr13297392plk.31.1648237063664; Fri, 25 Mar 2022 12:37:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648237063; cv=none; d=google.com; s=arc-20160816; b=hBXMicjX0cTI+a1p7XChkBFIaOu62wQdGLrfui96ImWNT0mxSxl3Bs/ZEW7H/cZ7nT 9j+ZcnQ0k9jfYMKPBtKSxffh4gUgW+IstgewDXz3HXoditNotkFzVzgV+VWlcvhYb0Ab Pphr/wFv2Pogs5vNs7pjSZRB6IJonuoC3HtLpZJdIC59GFTuY8mmBRpvIa667pmutomb NetezNNWbf+kM0LlOlL26X5ROvPAzSxW4i4j1m2x/utmd8d7WwEBDV2ivgU1mVNPNrBv nK8wjmTk2jpYAGZCWBjy8DFJtckuIKWidmUeb8GcOCNC1KvK5WGUuDmEvOmxy8eXO4WN Bt0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=ydsqLkbkhbIV1dOJfUKz90Wi3ZXl+CZnm4ct3AgdNIc=; b=oDwifdWQxQ6uttzGFRLCChoGdz8Ha7PYH1ELMADqV7sPx/0rFbhFkAKRQQkca28xar VU7Cen3cV08eFG06D9j0NsqmSDdWVN1uLurdjWWeS60ti6vzJe/IfWrfHMRTH2C5mRey FR4/5H4QHZJE5poQXWFohWBrGy2CkHh2swmNecSS7nJaLa9FEa6JYl9mEtA5Yt+ecohg JZmNCY/hYDfJyeN9sJWaT4MH12MvAuTZbeUX5pSPSSacyYfe01isr51uu3Y092ophyqf CsKiaYNSNsQ6vJG7dwVxGADD8Yv6KvyVe0Zt+96woFk9Heth1WCpDppS4rZ8KvhMoKNB stPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=i8bbDASx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id a4-20020a63e844000000b003816043f11bsi3037736pgk.784.2022.03.25.12.37.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Mar 2022 12:37:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=i8bbDASx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 480AF26D108; Fri, 25 Mar 2022 11:28:33 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355631AbiCXXIP (ORCPT + 99 others); Thu, 24 Mar 2022 19:08:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38562 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244602AbiCXXIM (ORCPT ); Thu, 24 Mar 2022 19:08:12 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5D528BB097; Thu, 24 Mar 2022 16:06:40 -0700 (PDT) Received: from pendragon.ideasonboard.com (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 4CFFD59E; Fri, 25 Mar 2022 00:06:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1648163198; bh=uRMNGi9N9TZ31uYqlClvaUFRo+8SOHgL8YuapfxJDv0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=i8bbDASxYs0UGXWmg23jAOZiH6KLOXG71WI7KDGsR7vEbo2E8mZk+GsDTxtX+pt6G o4PqRbiIqkzcAkB8zhEmitvlBEGUqCWwCURmBMsv+u9qaHDZTHlLSZnavVo1RtgRTw 8fwj9/WZAhdHwqQcupYcwWeFLEovZR4z8xtUKoxk= Date: Fri, 25 Mar 2022 01:06:36 +0200 From: Laurent Pinchart To: Marcel Ziswiler Cc: linux-arm-kernel@lists.infradead.org, Marcel Ziswiler , Alex Marginean , Alexander Stein , Arnd Bergmann , Dong Aisheng , Fabio Estevam , Frank Rowand , NXP Linux Team , Olof Johansson , Pengutronix Kernel Team , Reinhold Mueller , Rob Herring , Sascha Hauer , Shawn Guo , Tim Harvey , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 3/3] arm64: dts: freescale: add initial support for verdin imx8m plus Message-ID: References: <20220323143600.170778-1-marcel@ziswiler.com> <20220323143600.170778-4-marcel@ziswiler.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220323143600.170778-4-marcel@ziswiler.com> X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Marcel, A couple more comments. On Wed, Mar 23, 2022 at 03:36:00PM +0100, Marcel Ziswiler wrote: > From: Marcel Ziswiler > > This patch adds the device tree to support Toradex Verdin iMX8M Plus [1] > a computer on module which can be used on different carrier boards. > > The module consists of an NXP i.MX 8M Plus family SoC (either i.MX 8M > Plus Quad or 8M Plus QuadLite), a PCA9450C PMIC, a Gigabit Ethernet PHY, > 1, 2, 4 or 8 GB of LPDDR4 RAM, an eMMC, a TLA2024 ADC, an I2C EEPROM, an > RX8130 RTC, an optional I2C temperature sensor plus an optional > Bluetooth/Wi-Fi module. > > Anything that is not self-contained on the module is disabled by > default. > > The device tree for the Dahlia includes the module's device tree and > enables the supported peripherals of the carrier board. > > The device tree for the Verdin Development Board includes the module's > device tree as well as the Dahlia one as it is a superset and supports > almost all peripherals available. > > So far there is no display functionality supported at all but basic > console UART, USB host, eMMC and Ethernet functionality work fine. > > [1] https://www.toradex.com/computer-on-modules/verdin-arm-family/nxp-imx-8m-plus > > Signed-off-by: Marcel Ziswiler > Reviewed-by: Laurent Pinchart > Tested-by: Laurent Pinchart > > --- > > Changes in v2: > - Fix capitatlisation of verdin in comments as reported by Laurent. > - Add/modify todo comments as suggested by Laurent. > - Add Laurent's reviewed- and tested-by tags. > > arch/arm64/boot/dts/freescale/Makefile | 4 + > .../dts/freescale/imx8mp-verdin-dahlia.dtsi | 129 ++ > .../boot/dts/freescale/imx8mp-verdin-dev.dtsi | 44 + > .../imx8mp-verdin-nonwifi-dahlia.dts | 18 + > .../freescale/imx8mp-verdin-nonwifi-dev.dts | 18 + > .../dts/freescale/imx8mp-verdin-nonwifi.dtsi | 54 + > .../freescale/imx8mp-verdin-wifi-dahlia.dts | 18 + > .../dts/freescale/imx8mp-verdin-wifi-dev.dts | 18 + > .../dts/freescale/imx8mp-verdin-wifi.dtsi | 82 + > .../boot/dts/freescale/imx8mp-verdin.dtsi | 1373 +++++++++++++++++ > 10 files changed, 1758 insertions(+) > create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-verdin-dahlia.dtsi > create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-verdin-dev.dtsi > create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-verdin-nonwifi-dahlia.dts > create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-verdin-nonwifi-dev.dts > create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-verdin-nonwifi.dtsi > create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-verdin-wifi-dahlia.dts > create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-verdin-wifi-dev.dts > create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-verdin-wifi.dtsi > create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi [snip] > diff --git a/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi b/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi > new file mode 100644 > index 000000000000..8cad1d865720 > --- /dev/null > +++ b/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi > @@ -0,0 +1,1373 @@ [snip] > +/* Verdin I2C_2_DSI */ > +&i2c2 { > + clock-frequency = <10000>; Did you really mean 10kHz here, not 100kHz ? > + pinctrl-names = "default", "gpio"; > + pinctrl-0 = <&pinctrl_i2c2>; > + pinctrl-1 = <&pinctrl_i2c2_gpio>; Shouldn't you also specify scl-gpios and sda-gpios, like for the other I2C buses ? > + > + atmel_mxt_ts_mezzanine: touch-mezzanine@4a { > + compatible = "atmel,maxtouch"; > + /* Verdin GPIO_3 (SODIMM 210) */ > + interrupt-parent = <&gpio1>; > + interrupts = <5 IRQ_TYPE_EDGE_FALLING>; > + reg = <0x4a>; > + /* Verdin GPIO_2 (SODIMM 208) */ > + reset-gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>; > + status = "disabled"; > + }; > +}; [snip] -- Regards, Laurent Pinchart