Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp10732108rwp; Fri, 21 Jul 2023 04:14:22 -0700 (PDT) X-Google-Smtp-Source: APBJJlE1yY7IOJY9TGxDRWUmO74t0FmxqyFMUnGVYn74iS2WzlNW0aWUCFkTNADZyMqnH5w8SYNf X-Received: by 2002:a17:906:648f:b0:993:f12a:39cf with SMTP id e15-20020a170906648f00b00993f12a39cfmr1404839ejm.20.1689938062056; Fri, 21 Jul 2023 04:14:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689938062; cv=none; d=google.com; s=arc-20160816; b=HNXsjjFV8Zdgr2QDfQnUdrlHmXGlOd+VZP1CwToJEkCfCP8nCZU5NIf4OmLjogYkFA DP68O9qcXGCJ8VU2bYHIHDxRdk2BskdTReZ5p3buTvQ3+9wEG8pcMtbPXBTYTL+Qg3G3 wJswhzUYwVGcIKevNyA1jPxwig4DF4ONFtke0p0O+nMG5RJj8xc9BinopBYJeWJXP+Gl wbYwtGqfokoEh2rCAj/xakBdN+PX1duIZYZZeO6v0NRRnkFFa+4PinnWxP3b08V8b3RF UCjoKqB+6hl9PYQDN+kZdBY0QJn6kJtCMsFVFtyrT9fU32db4wx4pr1uHXqPNWJ2maQ1 pFEA== 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=10U4fK1s3xSb0xE9SC0kNza6kl90rPnqzrVj/rW25sA=; fh=IXWqegdnpoEcSAa/jOnvo1F7Rhzf0DN7upM11kTJ0kc=; b=BuHTyuyo6QVcvOE50nbxzTbqu8rfU5Rbj+fg6tBLwpzNpyIGjGlVw8N7/+j/plfeX/ G/NMwbw8oZzz0xVJkz46I0DfcNywDw1vPq4XIT7yFoIU/ZRgphQ3z3xYbbLZcArAejmb lSbaBoEyXmF9u9pERTi9Dm4FCHmC334vR2og3L8ef06PsAYAvkKSXyNhdns2IvjU2L4M uMUZGIO9Ks0ufYHoP+1H4rrPEDLm7WXcF440V2caDprmuiFvQWCOARNw9L2L68es2hJ2 Fy1fFnm+FcZ5/GJ/yp6WLLenVKv9r4Kep6hhCbBTC1KYWvB62/51V9w7uOzcT4NV5joE NKTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ylegs2eQ; 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 rs10-20020a170907036a00b009924806cd0asi2105677ejb.295.2023.07.21.04.13.57; Fri, 21 Jul 2023 04:14:22 -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=ylegs2eQ; 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 S230499AbjGUKna (ORCPT + 99 others); Fri, 21 Jul 2023 06:43:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41764 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231745AbjGUKnO (ORCPT ); Fri, 21 Jul 2023 06:43:14 -0400 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6CF2171E for ; Fri, 21 Jul 2023 03:43:12 -0700 (PDT) Received: by mail-wr1-x42c.google.com with SMTP id ffacd0b85a97d-3110ab7110aso1506145f8f.3 for ; Fri, 21 Jul 2023 03:43:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689936191; x=1690540991; 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=10U4fK1s3xSb0xE9SC0kNza6kl90rPnqzrVj/rW25sA=; b=ylegs2eQ1FV4JkZAMkdbyfVbgKsFznHRW3MP7u/ObABBMG1slmHz5LpzO78kVwHd9L wz2d1lIYpN082F74Q8YPFHg2fx9ArEKmSDGtp21GAr2QxymgetMUc+9yJT9Ejf0rPoJD Tr5YtbxYjEFoTqqhVwn9+SgorgrUlxAeeNx1PsT0eSDKNMi0mWj0B+NA6qEryk4DYep+ Z/WKDzY+KRipQ3tpZ4g2X+3jTxW4CD2TiiOIpW3fekolkSg6vU6RYuZaUxjy5sfAOBKF 3CGMZsChEQ971aHhLt1woOScZsSuXsyl9iVZhbNsxdEa4PmqgCXBMyti4midHNQty3uB ++VA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689936191; x=1690540991; 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=10U4fK1s3xSb0xE9SC0kNza6kl90rPnqzrVj/rW25sA=; b=CCqrRFvSAV4lLX5lKIKqBkclOmuVB0+ABiKOB6EUjsesfXNZe1dmIVxGFAb1ya0jzA DEtLjt4GukRBDfWpksncwGttGQJScVB4HF8LWFKoO8x5Ww4iaMwl0osuUu0r0DJd6A4+ gGNFCTrqw7j90EgKYHBW3knW5Y+PUbCUr/vmqcDC/5m7YgQcBqLAkl8aPxN0lgJoOnv0 qs/3w9uokTy5uZruMsx31nOU+iEHz3U4VU7YRQOV49gbWmxbcdVdjBRprcUoESC5WuwK bhuiC8lk9SWtRBB0M+A8qnjXgptBheyJiWIw/p2xm6VTyWEsVLt1crvm78uBSnpmV671 lSBA== X-Gm-Message-State: ABy/qLaLAWXCPzwpDhdzdbj/jHQeaWNx9pUetJp32MigrW2Tkqrc2A66 JHubbWZ0/Lj7qN1x5aOMicJBFQ== X-Received: by 2002:a5d:6086:0:b0:314:39d0:26f6 with SMTP id w6-20020a5d6086000000b0031439d026f6mr1289165wrt.18.1689936191292; Fri, 21 Jul 2023 03:43:11 -0700 (PDT) Received: from [192.168.1.20] ([178.197.223.104]) by smtp.gmail.com with ESMTPSA id x13-20020a5d60cd000000b0030ada01ca78sm3843492wrt.10.2023.07.21.03.43.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 21 Jul 2023 03:43:10 -0700 (PDT) Message-ID: <3492152a-d668-54ba-7cb4-4db8bfec6f03@linaro.org> Date: Fri, 21 Jul 2023 12:43:07 +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 v6 2/3] ARM: dts: imx6qdl: Add Variscite VAR-SOM-MX6 SoM support Content-Language: en-US To: James Hilliard , devicetree@vger.kernel.org Cc: Gregory CLEMENT , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Marek Vasut , Frieder Schrempf , Stefan Wahren , Philippe Schenker , Andreas Kemnade , Marcel Ziswiler , Christoph Niedermaier , Li Yang , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20230721103350.3684483-1-james.hilliard1@gmail.com> <20230721103350.3684483-2-james.hilliard1@gmail.com> From: Krzysztof Kozlowski In-Reply-To: <20230721103350.3684483-2-james.hilliard1@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 21/07/2023 12:33, James Hilliard wrote: > This patch adds support for the Variscite VAR_SOM-MX6 SoM with : > - i.MX6 Quad or Dual Lite SoC > - 256 – 4096 MB DDR3 > - 4-64 GB eMMC > - 128 – 1024 MB SLC NAND > - Camera Interface > - HDMI+CEC interface > - LVDS / DSI / Parallel RGB interfaces > - Ethernet RGMII interface > - On-SoM Wi-Fi/Bluetooth with WiLink wl183x SDIO Module > - SD/MMC/SDIO interface > - USB Host + USB OTG interface > - I2C interfaces > - SPI interfaces > - PCI-Express 2.0 interface > - on-SoM Audio Codec with HP/Line-In interfaces + DMIC interface > - Digital Audio interface > - S/PDIF interface > > Product website : https://www.variscite.com/product/system-on-module-som/cortex-a9/var-som-mx6-cpu-freescale-imx6/ > > Support is handled with a SoM-centric dtsi exporting the default interfaces > along the default pinmuxing to be enabled by the board dts file. > > This file is based on the one provided by Variscite on their own > kernel, but adapted for mainline. > > Signed-off-by: Gregory CLEMENT > Signed-off-by: James Hilliard > --- > .../arm/boot/dts/nxp/imx/imx6qdl-var-som.dtsi | 544 ++++++++++++++++++ > 1 file changed, 544 insertions(+) > create mode 100644 arch/arm/boot/dts/nxp/imx/imx6qdl-var-som.dtsi > > diff --git a/arch/arm/boot/dts/nxp/imx/imx6qdl-var-som.dtsi b/arch/arm/boot/dts/nxp/imx/imx6qdl-var-som.dtsi > new file mode 100644 > index 000000000000..a7d2aecd83fe > --- /dev/null > +++ b/arch/arm/boot/dts/nxp/imx/imx6qdl-var-som.dtsi > @@ -0,0 +1,544 @@ > +// SPDX-License-Identifier: GPL-2.0+ > +/* > + * Support for Variscite VAR-SOM-MX6 Module > + * > + * Copyright 2011 Linaro Ltd. > + * Copyright 2012 Freescale Semiconductor, Inc. > + * Copyright (C) 2014-2016 Variscite, Ltd. > + * Author: Donio Ron > + * Copyright 2022 Bootlin > + */ > + > +/dts-v1/; > + > +#include "imx6q.dtsi" > +#include > +#include > +#include > + > +/ { > + model = "Variscite VAR-SOM-MX6 module"; > + compatible = "variscite,var-som-imx6q", "fsl,imx6q"; > + > + chosen { > + stdout-path = &uart1; > + }; > + > + memory@10000000 { > + device_type = "memory"; > + reg = <0x10000000 0x40000000>; > + }; > + > + reg_3p3v: regulator-3p3v { > + compatible = "regulator-fixed"; > + regulator-name = "3P3V"; > + regulator-min-microvolt = <3300000>; > + regulator-max-microvolt = <3300000>; > + regulator-always-on; > + }; > + > + reg_3v3_touch: reg-3v3-touch { The prefix is still different than all others. You used "regulator" in other places, but here it is "reg". Keep your code consistent. > + compatible = "regulator-fixed"; > + regulator-name = "touch_3v3_supply"; > + regulator-always-on; Also, missing constraints. Best regards, Krzysztof