Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp1312918rwo; Sat, 22 Jul 2023 10:34:04 -0700 (PDT) X-Google-Smtp-Source: APBJJlGnsllMAFEqD8G2//re1F43LtWyz/rbLjBJpR+xAE1pVhn/iOMx6h88PDp2OUlYaEUTHRvk X-Received: by 2002:a50:ec93:0:b0:51d:f39d:1716 with SMTP id e19-20020a50ec93000000b0051df39d1716mr4104636edr.22.1690047244593; Sat, 22 Jul 2023 10:34:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690047244; cv=none; d=google.com; s=arc-20160816; b=YztGFKXy+qdXYyu55oGxU7eOk14v/f294Jx1OGABstuAHq/haQLiVbqBUeV7WYLKLd p2wqTXiirro3AXqhy1tSO0Y+h6+OGcddzBB91Jgwe3wjRq0qLePmLH/Ru8NLgTp7Mp+u nqY1iB38D9X28GP8Y6zmu1hDR5jeQ7ym8+PLf+7UWA3mw3tTWFp7A/LlX0c6JDwC4yS7 +dvVTEwGC2wjRkvix/7Jci7A8kUkCUqQx/E5f6Bw7NF27if3YB4gwr/LMbfv7irN3VMC Ow4xMTw79wXoMNmeno4evuCGSGyiZ69hIb8gZ9MEa3jWzV5jR96tW2ZhnOxT0BKw6/0c ez2g== 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=aR5sCXAxQTVo6Nxobbh0jeRT3E3q1mjLjpUY2gBLFfI=; fh=aGdDaocECMgjyN5ZqOujwEsZzmMgTaG94ZT/UKL4GW8=; b=bf2RBa5pXLc+mUHc1YdS8q5+7rarDXP7UHsbzDlrzE8LqNukoTxhb1owedmb1Veg3X 0QLWQ1dmjw4+6snrsNL0hTMTGJxtGH8p9eTU4L/O+/UDmSQkBWcvQn9/KQRtagUUxZnK jIj782dxEBDNOWG7RVcUJG9vY1hqcgRSmWKwyulOM0rDX9lwQ0RkOdrab4oeFSUga0fi 2m1r+tJ8hcHzgrQFK4pceY45buR78K54fpM0cA2eE06xGNgFaec5FThWey3W6u1uML8I 8rBc1PMfi7Fty8l0R8q9RhqTTCQ4xnv3PtTvGLun2/29499Hd0hFYFjr737X4hmvnX2M T6Xw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=M6xNzvn9; 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 o3-20020aa7d3c3000000b0051e37b2d837si4187435edr.237.2023.07.22.10.33.40; Sat, 22 Jul 2023 10:34:04 -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=M6xNzvn9; 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 S229709AbjGVRHQ (ORCPT + 99 others); Sat, 22 Jul 2023 13:07:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60712 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229477AbjGVRHP (ORCPT ); Sat, 22 Jul 2023 13:07:15 -0400 Received: from mail-oa1-x2a.google.com (mail-oa1-x2a.google.com [IPv6:2001:4860:4864:20::2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 84D9B1A7; Sat, 22 Jul 2023 10:07:14 -0700 (PDT) Received: by mail-oa1-x2a.google.com with SMTP id 586e51a60fabf-1ba2e911c24so1912226fac.0; Sat, 22 Jul 2023 10:07:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690045633; x=1690650433; 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=aR5sCXAxQTVo6Nxobbh0jeRT3E3q1mjLjpUY2gBLFfI=; b=M6xNzvn9qfgjwampMqsk9kyRuUzW2Hl7DnmtUBeldISzPj5rnFeyHh73GDALYg6OMB +dfDw2XgA9KMSe2UupnN7DTu2KnpfdGNKMlkXNQpxJmEM5KdtFC1hHpO5jjZn8Kuc98t MBN33MHOrKHsmv2/n/O25rhZ1gwKSPcE77X5pobL1nBcJD/6U5bXC2VADhbaEaqPCddY pE/HBj7Xat55v/gUD8TsEmr5YLXOVECzl1VWoVJxX4fD5MPCl9fp5vrVDCG0L1LzlQN0 5n3Ndx36Af7zKxSr2/+QDecxhf49rWN9mp6NTr89FqwacG6sldc8OO5sM1uroJ/Jxjei AYRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690045633; x=1690650433; 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=aR5sCXAxQTVo6Nxobbh0jeRT3E3q1mjLjpUY2gBLFfI=; b=Cuv+abSwDkhMPH8ESBdlHAoLIdZDSsIRh7SrrXAVQLJgfG/ADa7BVl7EZvTHFFu3i/ 5WRti7hLZCkHbMFYVp69fHn0URVOw8T1KGBLnHPb5SLB6xXe/7n4Ula+Q5sCTyFiN/a6 k9mBLCYiJ/ExcR2RP1A6g9lefIwTaIcfNxgA2a5cR98hEuX+P1/wuEMy/bVJCGsBH5// UQOK3vjT5L3vHjsluuj337hsKaPmeCCRIlDCefDDim0DNJOaLDDCw2gIe5SqluI4eeui hi56t6YtEyNDVXFgBiulPVx7Zd8uwvdQZkEATVAyv+KzTIbMHDYR4F/TTmFJT5WHKwyb 4CJg== X-Gm-Message-State: ABy/qLZ6naFKZzDUyl/P9lf0nTQ2+K5pXxl1BnrMW80g0GMrgh5Q+q07 ChDHlo3EpUix5o1L+sSKZekk1L6hifwlJrOD7BE= X-Received: by 2002:a05:6870:7026:b0:19a:2d23:4e32 with SMTP id u38-20020a056870702600b0019a2d234e32mr4404421oae.28.1690045633557; Sat, 22 Jul 2023 10:07:13 -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: From: James Hilliard Date: Sat, 22 Jul 2023 11:07:01 -0600 Message-ID: Subject: Re: [PATCH v6 2/3] ARM: dts: imx6qdl: Add Variscite VAR-SOM-MX6 SoM support To: Francesco Dolcini Cc: Krzysztof Kozlowski , 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 5:41=E2=80=AFAM Francesco Dolcini wrote: > > On Fri, Jul 21, 2023 at 05:05:51AM -0600, James Hilliard wrote: > > On Fri, Jul 21, 2023 at 4:43=E2=80=AFAM Krzysztof Kozlowski > > wrote: > > > On 21/07/2023 12:33, James Hilliard wrote: > > > > + 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? > > You should know/understand the hardware design. Normally when writing a > DT file you have the hardware schematics and the relevant datasheets > available. I did find some datasheets/schematics, but I'm having trouble finding somet= hing which indicates it would be anything other than 3.3v there(although I don't= read a lot of schematics in general so I might be missing something obvious): https://www.variscite.com/wp-content/uploads/2017/12/VAR-SOM-MX6_v1-Datashe= et.pdf https://www.variscite.com/wp-content/uploads/2017/12/VAR-SOM-MX6_datasheet.= pdf https://www.variscite.com/wp-content/uploads/2017/12/VAR-MX6CustomBoard-Sch= ematics-for-VAR-SOM-MX6_V1.pdf https://www.variscite.com/wp-content/uploads/2017/12/V2_VAR-MX6CustomBoard-= Schematics.pdf https://www.variscite.com/wp-content/uploads/2017/12/VAR-MX6CustomBoard-Dat= asheet.pdf > > > I'm guessing they should just be set to this based on the name?: > > regulator-min-microvolt =3D <3300000>; > > regulator-max-microvolt =3D <3300000>; > > This looks like a good guess, assuming that the regulator name is > correct. Tested with that but it didn't work, screen failed so I guess must be something different? > > Francesco >