Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp8932194rwp; Wed, 19 Jul 2023 18:40:14 -0700 (PDT) X-Google-Smtp-Source: APBJJlGmPo8I14x+/sP40ui6YWs8gMXyS1KKz2Tx9DdVNAcKaUWMzngpCyfuHzGMUUJKspM84fVn X-Received: by 2002:a05:6870:5ba7:b0:1b0:89e4:e260 with SMTP id em39-20020a0568705ba700b001b089e4e260mr207790oab.19.1689817214349; Wed, 19 Jul 2023 18:40:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689817214; cv=none; d=google.com; s=arc-20160816; b=ur01Kx9YoDQnEmjgao0aiQE9lvY2xaLYR4IszOdkr40QloFjykgSDODDMNL0vgMLp2 0KroHvVb30OUlKUkd5R20hJ/xeQHL741gDCON5t8DpHwdQ0BTT/T8NmF8bpQMX2NKipd 8Z/HW4TUzm6TCKif0GoTKb0JXDyPpWUxAFMYUKQEOwWxDuStX3atOh8cEGZ6Hse7Wh/t 1h1udu2OhjbOO4pgG740Z2NeKsgUWUY60FWA4ocVHarBAfCOnD1jgaWJmAzjLY5MqHyi TfbKc6/KKFYVKRB3YpPxS1ww8jghqM7I1sMv7WnsF+HuVBnJ2gQgfo/tHXDNc+gOr47D iI7Q== 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=AQW65J+CLOk0J4Yl6UCvOr98eBkR2w5hxC1HptI7xbE=; fh=6NAKN4Pb6r37JcGt44B2Z/nPxBXSwRnts+8/W2s5W6g=; b=mjGrxB+KX1Y5AB+pQS3JsmZpVKFhq1AG5c5CdAkrm6tLxWxiavLaS6tYTiBqkp0l4p 56bAYfBF8Deh5RJGT1IRWqu6wpFvnJIWjQdjT1zqLvkAy97Xqt+UEczebkUTfoVG4RiP Ldt54IyBwcAx8mZ+PyTMmNT5BsjuQH1mBO0yHDS8/9iSvnEK2Uu1CLl/bJ7bntisJ2x8 jKyr31m9Z4cmA6M9UjV4BMMG/9VCkP/BLdY7y2CreY6FVPloZyjpsgUijhmIQvJC5It/ C7GyKgOCbrbUm/P8p0Gf6/EQ0tyemBDOoHyhMJ/tkcEDPNwUCnn2ViODRirV8VM17LIw mcLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=qmGJPJ2h; 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 r38-20020a632066000000b0054ff40bf1ccsi4836938pgm.702.2023.07.19.18.40.01; Wed, 19 Jul 2023 18:40:14 -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=qmGJPJ2h; 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 S229628AbjGTBaN (ORCPT + 99 others); Wed, 19 Jul 2023 21:30:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42736 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229476AbjGTBaM (ORCPT ); Wed, 19 Jul 2023 21:30:12 -0400 Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D9B32103; Wed, 19 Jul 2023 18:29:40 -0700 (PDT) Received: by mail-pj1-x1030.google.com with SMTP id 98e67ed59e1d1-267711d2b43so32691a91.0; Wed, 19 Jul 2023 18:29:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689816579; x=1692408579; 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=AQW65J+CLOk0J4Yl6UCvOr98eBkR2w5hxC1HptI7xbE=; b=qmGJPJ2hg3UjaBb2W5TUZiFm/1W8FIFAWWRL4+vZWUNaQPe5by1PuvGsitfJCarMpQ k6/eoWphUTqt8uMPfkWrXFjRGC/HCV7cQYWTKfZ+lvU3Vt+4DItUnN1GdPwjlLp6UHTY 7yykYedyCHO1CwXJ1zJJR7FCDDZfKu7njtu6sByv1C8CNVFZNwnWuWyUpBKf13brOIVY tSN8eCYh2djTB/KS4hlWkRVw9gZa2lnKFpwYPVj0UZwF6TBYjUxyl+67Ua0DMrsluyxW W76GGIY9SVpUy8xHEd1jpplkpSXkYQtsg67UnDQJtD2yO+R5BXlM3UTxb2/OJ9krH5FM C0MA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689816579; x=1692408579; 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=AQW65J+CLOk0J4Yl6UCvOr98eBkR2w5hxC1HptI7xbE=; b=NYKOQQFW9Pr2sNXiSKLHyaQVGlghYYmDjmK5Cf56l5D587kMXRO1MswYdaljSQyw+/ 8MaJAyAU7+2SlvjhxN5A/AOFJZdaj792KrBiUM12NE8jo1gkQfPtZvHuHRQnJ1eXIM7I Mbc46cD25Mav80sRBPEmSxUEoqoxXT0ehcOtO2kYG1iCXiI9f0p3K0XakNuEe4df8cel nUTv/JTiBx1aqGOlMWrTu62VSkDH34wPVMWjJUT6geEKLnwCwqc1A0xMpeE2myufPStj 7RWPvuRqFG9Eu1YYqR+wOjGnp6mDwNmBE1WjKNJcjiiqUhIwsnxV77YaPBbQirMF4py9 geKg== X-Gm-Message-State: ABy/qLaxGLD0fAIvqULeW97uRN6gR7kMv9fdpdKGtrmp8DH9DGdCEAoK euDLltqLWzl5wo5VpGX8wNfIbLgx6P9ikICTWqFJOyO8elV8ZQ== X-Received: by 2002:a17:90a:c9:b0:263:5c30:2cf8 with SMTP id v9-20020a17090a00c900b002635c302cf8mr927708pjd.0.1689816579453; Wed, 19 Jul 2023 18:29:39 -0700 (PDT) MIME-Version: 1.0 References: <20230719160048.2737423-1-james.hilliard1@gmail.com> <20230719160048.2737423-2-james.hilliard1@gmail.com> In-Reply-To: From: Fabio Estevam Date: Wed, 19 Jul 2023 22:29:27 -0300 Message-ID: Subject: Re: [PATCH 2/2] ARM: dts: imx6q: Add Variscite MX6 Custom board support To: James Hilliard Cc: devicetree@vger.kernel.org, Gregory CLEMENT , Arnd Bergmann , Olof Johansson , soc@kernel.org, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , NXP Linux Team , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Wed, Jul 19, 2023 at 7:43=E2=80=AFPM James Hilliard wrote: > How would I determine what the value of these should be? > > The vendor device trees are using 0x80000000 for these values from > what I can tell. 0x80000000 means "do not touch the pinctrl, use the value from the bootload= er". It's preferable not to rely on the value that comes from the bootloader and explicitly describe the value in the DT. For the MX6QDL_PAD_DI0_PIN4__IPU1_DI0_PIN04 pin: look at its IOMUXC_SW_PAD_CTL register in the i.MX6Q Reference Manual. It is called IOMUXC_SW_PAD_CTL_PAD_DI0_PIN04 and its reset value is 0x1b0b0= . So this entry would become: MX6QDL_PAD_DI0_PIN4__IPU1_DI0_PIN04 0x1b0b0