Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp9151501rwp; Wed, 19 Jul 2023 23:47:36 -0700 (PDT) X-Google-Smtp-Source: APBJJlGj2bwtTiFxgldl+MtjOanDY+1mVvwpkFztdQywxuOx2+OdjU1AQ488kzPm1UszZE1IEAXm X-Received: by 2002:a17:903:2282:b0:1b5:64a4:bea0 with SMTP id b2-20020a170903228200b001b564a4bea0mr20979938plh.10.1689835655761; Wed, 19 Jul 2023 23:47:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689835655; cv=none; d=google.com; s=arc-20160816; b=uGuhUXkzV9TEWWmoJIgtd9cRQKWUYQGa2G1X+DaUtuSqLyGJ0fcyzEMcLCNJ4H/ArV OU/epe9Z31hX1HlL4eixUGnqunCe+Rr7th5++61LJMvhzT/6/YpFGAgLoHekmlflHFAW TeXRqrVVQsAv6DttoiIaGQcjgkT9xVBmvDUx6t7VORSBmlQzCk2PdvsP2InEOQtnuBAn 2idjeYN14FBXqviwwvgKDmyAUWP4eEW3eWYoGJl0Tp63Um50eBLN48rXRLMeemLjhMdO bPTbuCVgWNk9SDpsNbK/FeVBqeQGatvr94533Wqfy2RlXgD/7zwxPcg0XTPRkSqdGOHX Yv0g== 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=M9fxsL8k8YdgPOdv48SC9Nmsg2LypY+WGWHD2QI6dI4=; fh=d1sgwcNQo17Tfx65q+rNNUyF4jjXBBaf5yhYfmGaMqs=; b=PvG/J0KP11+fhfQg1FJD8EhrtTs5yi/9u+uJ+iECJNx4MpJBPxX023g4yT58B6kSeZ VIhE+mBw6HeZA3ol4XV+enHGMQici1l4Ca7HlO2pvo+lkLchI4pl7UXY2Oa9Uh2TEPZm VG342sFXv2fe5vjQLWmzL49Z30hTt0qiHAU1Jz/zIVb/Z3sYsQ0Pcddf85mvZcuIeqa2 Pxug4iyLg8rJPE+/QrkiVpsBN72nnnhSm7FY972gCp9sSs7DWapEtT8kap8HqN1qZTfS bsbxhqNWlXdv77xIFy8UoKxmizxGsA7IiqBQs8DgRB4pgXEvOnHPuOJrTDJjjdfqydds 3mbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="TjazXSZ/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y17-20020a1709027c9100b001b83767e879si312633pll.266.2023.07.19.23.47.24; Wed, 19 Jul 2023 23:47:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="TjazXSZ/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230034AbjGTGPa (ORCPT + 99 others); Thu, 20 Jul 2023 02:15:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59608 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230029AbjGTGP2 (ORCPT ); Thu, 20 Jul 2023 02:15:28 -0400 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 721491BF2 for ; Wed, 19 Jul 2023 23:15:26 -0700 (PDT) Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-4fba74870abso646488e87.0 for ; Wed, 19 Jul 2023 23:15:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689833725; x=1692425725; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=M9fxsL8k8YdgPOdv48SC9Nmsg2LypY+WGWHD2QI6dI4=; b=TjazXSZ/mUV4wGJU0KCYiC11Uw/a4eTT15H2sG8/TBGEoXDtPyYuQIBDnPPgq6DwXI pG08Ism0wSEIeLGzpw6NYA+h5DeX6dtiWzxYKq6NCzyrlUhK3yGgAgCUR1NDZd72a3KD 1UEJh4zxLX6r6GjTCGaQpdJzeTQfBD3d4OcBawjWqzpL629NYzr7IEdR2ctPZm49rdCx 07ZJ54G43LKPpyNYJDhOD04efYKq7KLNf+HDWUthoT8Zkwc785fFotPDfkI68eUj5WEN axYB77WBqSupOaAOcZLn+QMFl9l6niXIqyQbl1XX7xmH1E0CBVJecIhNene68UEaZDsB FuBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689833725; x=1692425725; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=M9fxsL8k8YdgPOdv48SC9Nmsg2LypY+WGWHD2QI6dI4=; b=XtnrmrG65O8niRGMYcG8RNp57Pejbx9VN8CRI16cF/id138DFXXdNVqjLavAn1qBHi Ab670mY5xgAJ0g6g7I/jWcNbXEBueyy460KelzqvdoFo1NZRFV39rmBqi0tRSYx/7UaM zXSaGbr52f/UUWnxMg0BgENOExInU9/DTU5H10WyegyCrMtuI9XWFicsz6u4NXpMiUFy eYln+pBT41EYrs0ZcRx2vd//okFY1FlWMbpLKhGmDtXb+CokQi7ThB3B7we0iAedGqqH dR0VywOE94ulnUEnaMrMKT8TPcklRCVZg78wLwj4RR9vlbrWMR/N1Swj1YPiEYDxIR6C GSXg== X-Gm-Message-State: ABy/qLYwQAVuNcmguAULB1ybEI7KUn1azcOrvlfroqXSzZtS4+2rEdA0 mYjzp7xhl8MuNCm1fxMmTu4rBQ== X-Received: by 2002:a05:6512:3191:b0:4f8:6627:7983 with SMTP id i17-20020a056512319100b004f866277983mr1827667lfe.5.1689833724641; Wed, 19 Jul 2023 23:15:24 -0700 (PDT) Received: from [192.168.1.20] ([178.197.223.104]) by smtp.gmail.com with ESMTPSA id l14-20020a1c790e000000b003fbd04ecdc6sm3086939wme.5.2023.07.19.23.15.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 19 Jul 2023 23:15:24 -0700 (PDT) Message-ID: <0ad5a223-d70f-deaa-6261-a2bd2b2af40d@linaro.org> Date: Thu, 20 Jul 2023 08:15:21 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH v2 2/2] ARM: dts: imx6q: Add Variscite MX6 Custom board support Content-Language: en-US To: James Hilliard , devicetree@vger.kernel.org Cc: Gregory CLEMENT , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Arnd Bergmann , Olof Johansson , soc@kernel.org, Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Marek Vasut , Frieder Schrempf , Stefan Wahren , Andreas Kemnade , =?UTF-8?B?TWljaGFsIFZva8OhxI0=?= , Marcel Ziswiler , Jesse Taube , Li Yang , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20230719224141.3716815-1-james.hilliard1@gmail.com> <20230719224141.3716815-2-james.hilliard1@gmail.com> From: Krzysztof Kozlowski In-Reply-To: <20230719224141.3716815-2-james.hilliard1@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 On 20/07/2023 00:41, James Hilliard wrote: > This patch adds support for the Variscite MX6 SoM Carrier Board. > > This Carrier-Board has the following : > - LVDS interface for the VLCD-CAP-GLD-LVDS 7" LCD 800 x 480 touch display > - HDMI Connector > - USB Host + USB OTG Connector > - 10/100/1000 Mbps Ethernet > - miniPCI-Express slot > - SD Card connector > - Audio Headphone/Line In jack connectors > - S-ATA > - On-board DMIC > - RS485 Header > - CAN bus header > - SPI header > - Camera Interfaces header > - OnBoard RTC with Coin Backup battery socket > - RS232 Debug Header (IDC10) > - RS232 DTE > > Product Page : https://www.variscite.com/product/single-board-computers/var-mx6customboard > > The dts file based on the ones provided by Variscite on their own > kernel, but adapted for mainline. > > Signed-off-by: Gregory CLEMENT > Signed-off-by: James Hilliard > --- > .../devicetree/bindings/arm/fsl.yaml | 1 + Please run scripts/checkpatch.pl and fix reported warnings. Some warnings can be ignored, but the code here looks like it needs a fix. Feel free to get in touch if the warning is not clear. > arch/arm/boot/dts/Makefile | 1 + > .../arm/boot/dts/imx6q-var-mx6customboard.dts | 279 ++++++++++++++++++ > 3 files changed, 281 insertions(+) > create mode 100644 arch/arm/boot/dts/imx6q-var-mx6customboard.dts > > diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml > index 15d411084065..0f583852de8a 100644 > --- a/Documentation/devicetree/bindings/arm/fsl.yaml > +++ b/Documentation/devicetree/bindings/arm/fsl.yaml > @@ -298,6 +298,7 @@ properties: > - udoo,imx6q-udoo # Udoo i.MX6 Quad Board > - uniwest,imx6q-evi # Uniwest Evi > - variscite,dt6customboard > + - variscite,mx6customboard > - wand,imx6q-wandboard # Wandboard i.MX6 Quad Board > - ysoft,imx6q-yapp4-crux # i.MX6 Quad Y Soft IOTA Crux board > - ysoft,imx6q-yapp4-pegasus # i.MX6 Quad Y Soft IOTA Pegasus board > diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile > index 59829fc90315..9cfc3d3e91ea 100644 > --- a/arch/arm/boot/dts/Makefile > +++ b/arch/arm/boot/dts/Makefile > @@ -665,6 +665,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \ > imx6q-udoo.dtb \ > imx6q-utilite-pro.dtb \ > imx6q-var-dt6customboard.dtb \ > + imx6q-var-mx6customboard.dtb \ > imx6q-vicut1.dtb \ > imx6q-wandboard.dtb \ > imx6q-wandboard-revb1.dtb \ > diff --git a/arch/arm/boot/dts/imx6q-var-mx6customboard.dts b/arch/arm/boot/dts/imx6q-var-mx6customboard.dts > new file mode 100644 > index 000000000000..66047dff11ec > --- /dev/null > +++ b/arch/arm/boot/dts/imx6q-var-mx6customboard.dts > @@ -0,0 +1,279 @@ > +// SPDX-License-Identifier: GPL-2.0+ > +/* > + * Support for Variscite MX6 Carrier-board > + * > + * Copyright 2016 Variscite, Ltd. All Rights Reserved > + * Copyright 2022 Bootlin > + */ > + > +/dts-v1/; > + > +#include "imx6qdl-var-som.dtsi" > +#include > + > +/ { > + model = "Variscite i.MX6 QUAD/DUAL VAR-SOM-MX6 Custom Board"; > + compatible = "variscite,mx6customboard", "fsl,imx6q"; Where is the SoM compatible? Best regards, Krzysztof