Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp3121565rwd; Mon, 29 May 2023 06:06:55 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ42VxnbWB0IjzXpNakl2e7jCXtQ/ip15Lf7mFKZFqFKU4Z1GvE6mCkWnl4H7fxCL21vsDcK X-Received: by 2002:a05:6a00:1596:b0:64a:5cde:3a8c with SMTP id u22-20020a056a00159600b0064a5cde3a8cmr17663190pfk.28.1685365614829; Mon, 29 May 2023 06:06:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685365614; cv=none; d=google.com; s=arc-20160816; b=EzpTIkD11MNH0FaEm0MgKphnAZQVEyLGtgxXZSPRDfAwtzXra9kiNqM+C9jyfsKEp7 y8NkPqAJNgyd/DYl/Jd+iWIY6uSWxotXP+j9MVYpp19gGQ7hemm00bhV0vjj3vnT+05O gkUXnY5PjI3/IBs9NfW+5o2tTo1kjJp54pCbRMrMiLrkriOCothEEBzqnfPZf4AQdqlj KEacEh8xUNi8o2suqIEbDXfVdsqISjTHdtJPxl0CXb3WCUCT/6lG/K0ZyOwcsMUxht9X 2FSLgQiBKHDZH/PFKcmF6rp4bBuP15+VCpo8ogMKNSEOA1s5LZnwLSQFs2jhAzLAtw/y owOw== 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=gOGDHYdGQK7t/hA+cE8novKJysT3cGX//NvgFDoFqfU=; b=oCxSGe8joHTlo7tY+cF16rSY4nJr3FlLUzuIBG1/YuORwGvVweuUiR4k2vDHOujkbC I1vDpjY6Yy+tQKXsCz2y3ay4k/vSbCR9fLUkdq1g1SYILM+1RvuiSxkSRmiqMWBJd01D 4QnSwtbGI6jcBckiBPCSLAtWNe6jO2kXna9hwfSbNTGWqyTZfTKY1+Exqoe7Iln0oNKa BcsQ9HrgcMEHHOljrD8WJLAS0J8P+Cz/JW0D25TyPxXGrrvunvEsW5742+j3FDTBjEm3 z1h7M53WvnoPE2UMYKTo5+wVK4LObK6EHrvp+0xDr4iUUwi+BjZMUcsnE57WrPxvGi3z /mMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qrXNr4vZ; 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 x23-20020aa79ad7000000b006462cc07d9esi9551834pfp.300.2023.05.29.06.06.41; Mon, 29 May 2023 06:06:54 -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=qrXNr4vZ; 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 S229663AbjE2NEG (ORCPT + 99 others); Mon, 29 May 2023 09:04:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229700AbjE2NDn (ORCPT ); Mon, 29 May 2023 09:03:43 -0400 Received: from mail-yw1-x1136.google.com (mail-yw1-x1136.google.com [IPv6:2607:f8b0:4864:20::1136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58D86E4 for ; Mon, 29 May 2023 06:03:40 -0700 (PDT) Received: by mail-yw1-x1136.google.com with SMTP id 00721157ae682-565aa2cc428so27494967b3.1 for ; Mon, 29 May 2023 06:03:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685365419; x=1687957419; 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=gOGDHYdGQK7t/hA+cE8novKJysT3cGX//NvgFDoFqfU=; b=qrXNr4vZh8m1YRuJ7HWlrxf1+8gea/IdBqPmXgnd02OLNFXiPFVRyZvydHtXNq5DSe BRWX3TASk2pmqU6WDxbWibIl4BadONoPp5+PSfdBwC7nFpdzhEg/eHFv9WYXp/LUbTjN 6ko1wlRwnt3sL1kc5lRLx6xGS4rQH1RxbjXfuUCddwMRIV6B2n5DxE3TW0oXqn8B1vFT 2nw1sp991psgiLkKwFJBqlN9bO1l/IUc412T9BTR6lPyfXfXekoJdslivq69dMkIdm+/ bBuQlGKr1ZojlFRMtS4WwWai6lVUYth8Dmq237CtyOLop7yZj6XtZdmAOptBA0wf97dM f1xA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685365419; x=1687957419; 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=gOGDHYdGQK7t/hA+cE8novKJysT3cGX//NvgFDoFqfU=; b=gCG75BwTvKdb3CRYgef3ZBONjUWVlvAI0Behy0GzstdORWlK2oUqhOGaPOOQIrk+gS du8jwA6bfOhWYWdY+rzWYHnD/PAvqdo+cGGZdHQ5nGIybp9mtqJr6ew1bRg/AMghi0Tg dA9bZ1r5zIv+mGmvwzmFOwWdc8e4RPd99WK6ic1AAMulIBpNJiMAnkqoUAOXiFFBZj52 47/FMRhCteYeMSOpCWwvJUEMGkSrSg8BCUGq3U9u3JO347IllUMmuyOUOi332duwSWm8 mKWTHwd08Uc2YYVfXi08wypAX+/eUXjTCV0GIbncZNt7sc5SFizltbZpsQALLxWoxPZ5 5sJg== X-Gm-Message-State: AC+VfDxB0kbpyLaPtDVKhayct8uWV92mpLexsiJe+cLBtJRuHY9iKp6t Z5HoCKwFUkT4cf5yUF/ofnhIqDTYhLkJGn4J0wqB8Q== X-Received: by 2002:a0d:f106:0:b0:565:ba53:e79a with SMTP id a6-20020a0df106000000b00565ba53e79amr11580133ywf.45.1685365419471; Mon, 29 May 2023 06:03:39 -0700 (PDT) MIME-Version: 1.0 References: <20230529025011.2806-1-xingtong_wu@163.com> <20230529025011.2806-2-xingtong_wu@163.com> In-Reply-To: From: Linus Walleij Date: Mon, 29 May 2023 15:03:28 +0200 Message-ID: Subject: Re: [PATCH v2 1/1] gpio-f7188x: fix base values conflicts with other gpio pins To: simon.guinot@sequanux.org Cc: xingtong_wu@163.com, brgl@bgdev.pl, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, henning.schild@siemens.com, xingtong.wu@siemens.com 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,RCVD_IN_DNSWL_NONE, 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 Mon, May 29, 2023 at 2:27=E2=80=AFPM wrote: > It would be nice if a pin number found in the device datasheet could > still be converted into a Linux GPIO number by adding the base of the > first bank. We actively discourage this kind of mapping because of reasons stated in drivers/gpio/TODO: we want dynamic number allocation to be the norm. Yours, Linus Walleij