Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3791996pxb; Sun, 24 Oct 2021 11:09:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwaMoltyZ0jA3R+PYVLTGqldhdW2e9ENnwtoKdLjrBFqP6H7OeLY45ggAuGNq8e8Dj61/ZF X-Received: by 2002:a17:90b:1c8e:: with SMTP id oo14mr29892800pjb.224.1635098978547; Sun, 24 Oct 2021 11:09:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635098978; cv=none; d=google.com; s=arc-20160816; b=IOCpKPiFysAPDWPc0Ck6BsQOchYtSGb3SOzeOAVHfgWoXR1Ygj7coGbezFiAd9qUSD ocJrijhVIWqNBV6I2mWy1y+dkZ2VZjxVDLWov8nJBHgTNHfZZyMy4k8B4M7yMgV/nE1r P8VXRCAfFWjdM1kgUpaOU2AeIifULrvtIcVVQpqpdHpDh28eCmedOxvw85/PccGWxCSC FysYZSvJCW+3PxSQOH1guoinuM7CD4OMPquXv12WDPhLFEFdbcmW+j1E2cIUzC2bey54 bnNjRZVTE/LHXCaJbXWQeSZAjNCeWgwzMKntiihNIqwXf5NBfr0CIZRSoDaGC2u1fVWf mdXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=h73xPtWW31ezTDYkoXFkMclBScDb2ojqPrkPeapX8ro=; b=DRLX7E50LdrLoGAPKWFAnPgf6vhJjNfXikzVEDaV+sBlhcBZdItEeB4VMKMtq+aT14 H3nBtCrsUgO994Qk7/L1RXuhVX8ks8NMyLeT+A+5vTS3TCDy0zdLM0y0xWDqdZFSxn30 uqBSNglH2rwLvxZ06orW1HyhtmqZl0N1cK9SL/7uYg4tC0sbi6eR9J+t89Tg4EavpMjW Znww2Z4PC7uN5WlGDlYAbclQrs63N6su+Eu6gIzJwtAI+PqjyHgh9zeCQFWyWPfw+waO IRLGHwlFuUdtO2cNpdAkZkAe24QcZUls5PjYO/Y64txUFSVu8Qoc413ipcfOG3hlkPjL bsXg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q189si17683300pgq.160.2021.10.24.11.09.25; Sun, 24 Oct 2021 11:09:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232084AbhJXSKC (ORCPT + 99 others); Sun, 24 Oct 2021 14:10:02 -0400 Received: from mout.kundenserver.de ([217.72.192.74]:57217 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232124AbhJXSJd (ORCPT ); Sun, 24 Oct 2021 14:09:33 -0400 Received: from mail-wm1-f51.google.com ([209.85.128.51]) by mrelayeu.kundenserver.de (mreue107 [213.165.67.113]) with ESMTPSA (Nemesis) id 1MUXd0-1mELKI1wQq-00QUNj; Sun, 24 Oct 2021 20:07:10 +0200 Received: by mail-wm1-f51.google.com with SMTP id 62-20020a1c0241000000b0032ca21cffeeso6635149wmc.1; Sun, 24 Oct 2021 11:07:10 -0700 (PDT) X-Gm-Message-State: AOAM530Z7cgZIoK7uLht4FY6miDP0DyyxpNQ1g9hQ2Yrl1Kem7YX+UuX ANxdYXgmSoSQSjGuF3w3XynOd38o7K9dAffFk4M= X-Received: by 2002:a7b:ce93:: with SMTP id q19mr1339077wmj.98.1635098830063; Sun, 24 Oct 2021 11:07:10 -0700 (PDT) MIME-Version: 1.0 References: <20211024154027.1479261-1-Mr.Bossman075@gmail.com> <20211024154027.1479261-4-Mr.Bossman075@gmail.com> In-Reply-To: <20211024154027.1479261-4-Mr.Bossman075@gmail.com> From: Arnd Bergmann Date: Sun, 24 Oct 2021 20:06:54 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 03/13] dt-bindings: imx: Add pinctrl binding doc for i.MXRT1050 To: Jesse Taube Cc: NXP Linux Team , Michael Turquette , Stephen Boyd , Rob Herring , Shawn Guo , Sascha Hauer , Sascha Hauer , Fabio Estevam , Ulf Hansson , Dong Aisheng , Stefan Agner , Linus Walleij , gregkh , Arnd Bergmann , Olof Johansson , SoC Team , Russell King - ARM Linux , Abel Vesa , Adrian Hunter , Jiri Slaby , giulio.benetti@benettiengineering.com, Nobuhiro Iwamatsu , Leonard Crestez , b20788@freescale.com, Andy Duan , linux-clk , DTML , Linux ARM , Linux Kernel Mailing List , linux-mmc , "open list:GPIO SUBSYSTEM" , "open list:SERIAL DRIVERS" Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:ng9ql4UQ+cIo8gV19g2bstZgV/zDfKwfNuXRq5alZaRvAbikTu5 62hnCF6q41QGCfV7NxuGszwTNXkBXnrd7HfxqRICp4PPCWbPTGPq+AfSBqiUI517O0J9A6i 8jClQZQ0oGVrHshCTHJegP9+WeUsgi8VUDebgHm4DzAx1HFdse8/kZjsj5HmuJlhbjI1EkW o2RjozbFGLbYTKwipAvZg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:BQDbPqq5jcY=:u16L+VEQmRjLHoHhwnoZpt kn20RRpYfotpZL3nrIlnNB1L91LbFi7BLpNGGBM3QHZAfKtWkAiB63OhTEgqzqup3RzRJCf/O IqQh/dUscNJ/ogR6Id9WGdc/Syp/8TVAYYgKuiwftWKxPrODjKJ/bUCawYkNBNNgeyXAf3JKd RVHt/shOOLJLw9SmtE2eApftY4MiVLO4jG7900sA33b/m7RsgdO09X5rLNGuo/DxeyceImF24 7Pj573RQqPC035GQKyKVFktyy3Y+Q9pWJfUMUQm+LDe81UlBPnYxC/jL1cOBsLJ6QYmOY/cJf ysM/1r+lRuenLSwvGDot1xgV6PTepPbvPTEToybJ6sxsaqICmQ6HGUAivWmthw1ZwfYjvHmMZ PqJSN1IHfie822o/1TloYPvWzT3RCtajNaYMi76g4AP+LR/kQU3x3uHPjMhw/AO7KnCYvWaj4 PUtLN6n704ddzWFoWjaUB5gge6GFqhYoHTccvRP7Fmo0p01GWYvq3IU4nWG19mm4jsEDt7CWE PFyUqvHuxgFDGSFSsazzTyJzwhDlEHxiAz32pU/3G1eqxpQ2vJQ1T1nGNN3zm/G/cP7v6Eomn fRWMhdgxR69OWmKRUgSVCSBltv/MEuSiVdHXmda0rdLwEo7vYFrKMvYneKd2QM9nzwhAzl59R dGmU7k1m7iaztY9csJ97r5YU/TWe7+VYG6Fz1WQfVLEv54jkGzRtU/DCjM+84KJ55Dxep8XwI aQjO4zF6hTTBiNfxW2iVa/5KyKydD4rkZjMsuncuoy6PTdVC76XHUuteJ/xujncUzeyhPejd8 hUeSKGEb8x5EvYRUCBdjw4R/QZeu31v9EIZl51DZG3pMyk1kr8= Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Oct 24, 2021 at 5:40 PM Jesse Taube wrote: > +/* > + * The pin function ID is a tuple of > + * > + */ > + > +#define MXRT1050_IOMUXC_GPIO_EMC_00_SEMC_DA00 0x014 0x204 0x000 0x0 0x0 > +#define MXRT1050_IOMUXC_GPIO_EMC_00_FLEXPWM4_PWM0_A 0x014 0x204 0x494 0x1 0x0 > +#define MXRT1050_IOMUXC_GPIO_EMC_00_LPSPI2_SCK 0x014 0x204 0x500 0x2 0x1 > +#define MXRT1050_IOMUXC_GPIO_EMC_00_XBAR_INOUT2 0x014 0x204 0x60C 0x3 0x0 > +#define MXRT1050_IOMUXC_GPIO_EMC_00_FLEXIO1_D00 0x014 0x204 0x000 0x4 0x0 > +#define MXRT1050_IOMUXC_GPIO_EMC_00_GPIO4_IO00 0x014 0x204 0x000 0x5 0x0 The constants don't appear to be needed in this header at all, as the binding looks completely generic with a tuple of five values, so you could simply open-code the numbers where they are used, no need to include these in a driver. Arnd