Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp10736162rwp; Fri, 21 Jul 2023 04:18:06 -0700 (PDT) X-Google-Smtp-Source: APBJJlEThlzxFyETe6U6AwcN3arKj14ksLgcVJNBbkT66637hl+VX4wPdzGFpG8YUutY/Z2GZiRb X-Received: by 2002:a05:6a00:b8d:b0:682:4c1c:a0fc with SMTP id g13-20020a056a000b8d00b006824c1ca0fcmr2056373pfj.19.1689938286411; Fri, 21 Jul 2023 04:18:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689938286; cv=none; d=google.com; s=arc-20160816; b=ryMTa2x2nHjKFBQPG/ud4fMHfnS7iCSJM97WsKKi4y5L2THlvTzgc3YSqDtXAHCCAA mn+YVpmvC0NQV7dSL7wrvOixnOyRtr23dhyiHgZVNSnTJ0mG3ZPr/yUVdNnUtokCxAj8 cQFKESPUYNFClUxdxs6PqAykUnfxwNYVOupRLe7g7Qlliz3HmtF3m9qbIFJhGKTuZX5o Gs1+6BM6SRYzK2+P0O8SUMidy/FlEn0UxjNTVQZNhLGA7ixb5Ek+9w64OzO+X27Mgv1F 0tKSxqOCOgFBIcFN564ctf12EBGp0R55jE0ojywpMKKkMPzzLVWaAho2O1UgsECgm/gR LBxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=LhS2+KfGo09BPkweFjLOuPprkb1GFRM1vGhZw1v04ns=; fh=eqD4NTL+7nDhm4MbAYX4ENFSEAXVqvLcaGA2wLggEoA=; b=rDYBKR11129vQn8mwx9czI1dC/HeQgUL6thNRi4ItK8m7SEt5Y8ehLuokPm/Uid8cY YOHJYr0xgIAsJALl1B9BtfU52YD1GC49u0Ug/8dALhq1FvHpRmqSssXjzX27mD0sE0SW jz4SlFdpuQV3OJfVw7+cvY59ADI30dv6IOyQ7HIfUra2+8+Kk/jsFCkIN+PqYIyaBq37 szlwh6kmq4O+4Qb+lE50/OzeS9N8czwpP1YUcyNnn0twyjofBrVE3UvwRRQbeYfvyfvq qKbpWTui1P7QKJ3J6kOmZYQ2gY7+4amztwSgR4R2x4FmAs3DmB0ATew15Dm5N+57CgU+ sZAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=Cmhx4p03; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s1-20020a63dc01000000b00563522a7b7asi2875344pgg.14.2023.07.21.04.17.54; Fri, 21 Jul 2023 04:18:06 -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=@gmail.com header.s=20221208 header.b=Cmhx4p03; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231787AbjGULJR (ORCPT + 99 others); Fri, 21 Jul 2023 07:09:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54102 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232159AbjGULI0 (ORCPT ); Fri, 21 Jul 2023 07:08:26 -0400 Received: from mail-oa1-x32.google.com (mail-oa1-x32.google.com [IPv6:2001:4860:4864:20::32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1DF5249E2; Fri, 21 Jul 2023 04:06:04 -0700 (PDT) Received: by mail-oa1-x32.google.com with SMTP id 586e51a60fabf-1b055510c9dso1168884fac.0; Fri, 21 Jul 2023 04:06:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689937563; x=1690542363; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=LhS2+KfGo09BPkweFjLOuPprkb1GFRM1vGhZw1v04ns=; b=Cmhx4p03jqUeD2B5hTIOC8IjvPDshK96Dw/0V6SganboefUPIDrCkOquyqIBOpZMMv hcUJ8j4dJ2v+wG2cAHg7nNkrAzlujXUwPxchNMvNRaz5vi1PnVCNx+P3a+eeWotAT+c1 sTJz679r0DqIzgGBjyrOTCF4BKmgXvknhwsdVL5ImPaP7xyOK3x3An3b2iihiH18y4vu bV8+19R8lrx1qow48xd49whC2GcR1yHNJ7zw32oIwjqAtJrV1m5LsqmKo/g4Oz1hin/G xq+CxCH6j6oAVpDPIuI8kv0y1VseEuNrr1d0m6DrqTMNTzS9zk1BK9w4QtGe0tjLIlGr tpFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689937563; x=1690542363; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=LhS2+KfGo09BPkweFjLOuPprkb1GFRM1vGhZw1v04ns=; b=Eb6570SPGh0w4YtvIuJdLDh4twcAOB8V8ZLPSgDt0QFOBHY6Mn9ki0mQBgeIrNjnhY 2EG1LVHAevVs1E6bt8nlX68cDcFFneV0C09bwGnE4rG0dwMgRHTpQN+TfHCSlhPhJk0/ 7pxLDZMBEJRSEPbu2QRSeabjvvNzOchkk8SWTiAthecnuS/2K+ee4rcDhKT1rCaP9GkQ 1tCUPzIPFNTFtP4hILnMmDPgx/6WF0auXiOvXlvaxkopIONHk/QEsnLdU78Ue9dzgc2G p9PylBBB1ELbb3xBHnxQalxrH5QhrZ7N5VxxXS6z+XN/USP76IXeEe4ee4wot/dFWP2D LFwQ== X-Gm-Message-State: ABy/qLaRXmwEEwp3g3H0ayC3y0BwFADjScBKWQb6SX/aYIltXUb3EPJd blmiTV+FSyD3+K7nZQ+r+Mj5cvvq//mvsS4jCdM= X-Received: by 2002:a05:6870:c1ce:b0:1b3:dd9a:47d5 with SMTP id i14-20020a056870c1ce00b001b3dd9a47d5mr1639072oad.40.1689937563245; Fri, 21 Jul 2023 04:06:03 -0700 (PDT) MIME-Version: 1.0 References: <20230721103350.3684483-1-james.hilliard1@gmail.com> <20230721103350.3684483-2-james.hilliard1@gmail.com> <3492152a-d668-54ba-7cb4-4db8bfec6f03@linaro.org> In-Reply-To: <3492152a-d668-54ba-7cb4-4db8bfec6f03@linaro.org> From: James Hilliard Date: Fri, 21 Jul 2023 05:05:51 -0600 Message-ID: Subject: Re: [PATCH v6 2/3] ARM: dts: imx6qdl: Add Variscite VAR-SOM-MX6 SoM support To: Krzysztof Kozlowski Cc: devicetree@vger.kernel.org, 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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 Fri, Jul 21, 2023 at 4:43=E2=80=AFAM Krzysztof Kozlowski wrote: > > 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 =E2=80=93 4096 MB DDR3 > > - 4-64 GB eMMC > > - 128 =E2=80=93 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-so= m/cortex-a9/var-som-mx6-cpu-freescale-imx6/ > > > > Support is handled with a SoM-centric dtsi exporting the default interf= aces > > 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 =3D "Variscite VAR-SOM-MX6 module"; > > + compatible =3D "variscite,var-som-imx6q", "fsl,imx6q"; > > + > > + chosen { > > + stdout-path =3D &uart1; > > + }; > > + > > + memory@10000000 { > > + device_type =3D "memory"; > > + reg =3D <0x10000000 0x40000000>; > > + }; > > + > > + reg_3p3v: regulator-3p3v { > > + compatible =3D "regulator-fixed"; > > + regulator-name =3D "3P3V"; > > + regulator-min-microvolt =3D <3300000>; > > + regulator-max-microvolt =3D <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. Ok, I'll change it to this when I send my v7: reg_3v3_touch: regulator-3v3-touch > > > + compatible =3D "regulator-fixed"; > > + regulator-name =3D "touch_3v3_supply"; > > + regulator-always-on; > > Also, missing constraints. Hmm, what's the correct way to determine the constraint values? I'm guessing they should just be set to this based on the name?: regulator-min-microvolt =3D <3300000>; regulator-max-microvolt =3D <3300000>; > > > Best regards, > Krzysztof >