Received: by 2002:a05:7208:13ce:b0:7f:395a:35b6 with SMTP id r14csp368232rbe; Thu, 29 Feb 2024 01:47:26 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWXl5a78+qNQWoC2OMZsCBYOXt5OiWHB/IepoGJuoudZGKXEAt8T3VvMRvXPO7c047dFeCFtvYXlJOLIjPa23HaISjsj69fggZfCXoBVA== X-Google-Smtp-Source: AGHT+IFP+15SdPIAzHH7363QjPZHijvSw4nUN8zj2ktJ04LJeyr6eT/6RvHIhLfGumO1VyjxMCyd X-Received: by 2002:a17:902:d306:b0:1dc:41a1:9ece with SMTP id b6-20020a170902d30600b001dc41a19ecemr1353704plc.19.1709200046383; Thu, 29 Feb 2024 01:47:26 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709200046; cv=pass; d=google.com; s=arc-20160816; b=ip2FoDaXyhQBoDvGdj6zI+KQkp33DhrfBif38I63ML+kIXMWvDjg7Q1xwAWNWTW8Qm JfTOyIob36ckJLR4vMZqZZvLLe72S5ukHp+8lgmPgLUTzA8px+YtR4nAQGJRPxNJFRxe 0YLszy4SATLL2DiiHBldZnpmltfqEng1VyYLv65qrN7P8UUy9lpGtxDH0eLqJtzDYMCa h60u3nJJJBpAER4Gc+VGRR+YZ9PhG+icZ3RUu857wgYy7e5Yzy5WanqSGOVVoOh/a+Gq qURmvMQfVWHtCmetQujc6Os5bndlY2sbbN4BLaTx0QP6qk8Af+1ti22tesjCBX4Wjd18 dIEg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=WX6ElzN18ENGeITFFDkMWABhcHlHX3NBsTlvSRXysgY=; fh=75C2Ak5fu+FQEmvynxypuVwxNhZ831AhtD9/7XBG4m0=; b=UK+GQNI/g0rt4o412apyq8ilhtsdOIn1DSlia/ccZmnjyrphXZ0LkdtFuWDoc7O7PM ISp45+DrOVuAIbQlVCjyEh44aW94cOZXKrdsYX16fBdvhmgioTHuWOqt9eT+XlQNsvkI Ja+RFyMdC/Vjs/sCn/mb2fTDTVGFTUwH0u+1NDdbEfNqGHnVCxiTG5peyTeWxI0dYSNr ax5QFLLHq6s9lWQd80L9mi+U/qQRuviTU8Ru71MF4dZ7NpSfgus6qql3uEwwjJDHkvK/ 3saGD2MTZYSoQhNsvsMo1jA9kCf/Jqc2koUklVc0gcsrfJexLj4T+nRdRT9oAOl17Qlx vg4g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VwpAPcha; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-86462-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86462-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id z9-20020a170903018900b001dc7362736bsi1027187plg.23.2024.02.29.01.47.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 01:47:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-86462-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VwpAPcha; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-86462-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86462-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 63F1A28A70C for ; Thu, 29 Feb 2024 09:43:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B54C160EDF; Thu, 29 Feb 2024 09:43:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="VwpAPcha" Received: from mail-yb1-f182.google.com (mail-yb1-f182.google.com [209.85.219.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 429D560DE7 for ; Thu, 29 Feb 2024 09:43:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709199781; cv=none; b=DTBGCSI/5L9NlXMXaTY+dEt+MwnEsPhSfxLPm65m+e2NInieXUzFs0D63fs4RlRbq9bGLmIklYYl4pXzCgFIaZ41G+338YltJLZhtDFEXz7eWYnVYLpA6jBlIvn3MAerVtWKnJlXTS/iyNxsQ6k7uB6gD8N35r16fHcElAzwYCU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709199781; c=relaxed/simple; bh=WX6ElzN18ENGeITFFDkMWABhcHlHX3NBsTlvSRXysgY=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=KuFhtXkZeTyBW44bpwFG8wDvu5OkSH2fXxiBaqUcpuoS0Zt63PbTuKKnvH8nJK8vzUvCcSUsubTI483TQ41r3CMZoqJRwkZw8AM6e7slfJGMSWjCDJ4hFFjt6m+b6mDcFT97Kf6URCIvDyUv6N8a9MWEIUAmMOfeFMhZXriyjjk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=VwpAPcha; arc=none smtp.client-ip=209.85.219.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-yb1-f182.google.com with SMTP id 3f1490d57ef6-dc6dcd9124bso731716276.1 for ; Thu, 29 Feb 2024 01:43:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709199779; x=1709804579; darn=vger.kernel.org; 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=WX6ElzN18ENGeITFFDkMWABhcHlHX3NBsTlvSRXysgY=; b=VwpAPcha58IVwBhOUoRrxXcCj4urcm/iMWfWwUZjGayw9A6C87UU/jo0/YS9kaMSlz RxQ8CrM4nRtLU48hYwDoMeTNFpYXJh+IUbvD9DFbwtnIEA7UHTwZr2PBNDvNifkGuMgK UCVHWJ2SnfPt7jtO+Cldq2VPS94EYrNQQn6CgcdlejoJHkMOKW8pRon3uzWonq8mRo/w NBL3xd2c40WKqJCz7/Oyf7auOeAgP9lyCFfbsgr7xuuYnbBMW8omDHnk3O5GB6rlgzCk 6fhbSouQodxb/7QoUkppeH3j6k5tWfOx7QAbVGq5Un9ZzaJjtayB2Hd2/Bqsi8CZ/UuK Tkig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709199779; x=1709804579; 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=WX6ElzN18ENGeITFFDkMWABhcHlHX3NBsTlvSRXysgY=; b=GxpaI72zIPQ0shlS56F4f2uZo6k6Tb/u9IqltvGkAkJHmWZAIfgbjI4WX/2SEIDtGJ 5xybPJguk3xng6ekyz9TXh8A02uQQ+0CZxHTKo8ClqYnaeDTiS/efxJM4plaMbhMhyMq 4fRPFGX12bdAbBsFuGipkPq80r2Ngm1N8H9MOLD/QrqWYZoQGBZ9RBEaRRshiXuHe/2f nqkVJs4JhIaTZIuyWqf2jO+t4r9EmKNtusMLP7qjan7ocikGtYhUamxZ2JraKc8A7G2V fKWWRAWSwWSPUt+ksdgY3xOjAQciQwBpOSVk1YFq0MxaRsewZKZn2/pyeXRTk+ZM1c0k xn8g== X-Forwarded-Encrypted: i=1; AJvYcCXYBawPmtKg087h0ov8BQFA6SzqVw5laX5czfbQx37gJWiuSsf6zNKC3doP/QwDJKuLgq2/tPviwMQWXfNk5w9zL8XGBDmE5wEdVMHB X-Gm-Message-State: AOJu0YzJig/MWd6DqeMKVBK9DSQGCWS3SZBzP/80fW3h3zlJYBlHqJay lBrNzpTSN0Mixux0xknqJlGCibJD6FliVGmlzkzSvd+VNWv6T0WhqPILUiSyjUiJqjIl9aXUa3D ku2akuzvTNEFSBxw5/QF8JEoZjbOC2P6JWEYmKA== X-Received: by 2002:a25:b209:0:b0:dc6:9b9f:d3c0 with SMTP id i9-20020a25b209000000b00dc69b9fd3c0mr1735381ybj.10.1709199779367; Thu, 29 Feb 2024 01:42:59 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240228-mbly-gpio-v2-0-3ba757474006@bootlin.com> <20240228-mbly-gpio-v2-30-3ba757474006@bootlin.com> In-Reply-To: <20240228-mbly-gpio-v2-30-3ba757474006@bootlin.com> From: Linus Walleij Date: Thu, 29 Feb 2024 10:42:48 +0100 Message-ID: Subject: Re: [PATCH v2 30/30] MIPS: mobileye: eyeq5: map GPIOs to pins using gpio-ranges To: =?UTF-8?B?VGjDqW8gTGVicnVu?= Cc: Bartosz Golaszewski , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Philipp Zabel , Thomas Bogendoerfer , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mips@vger.kernel.org, Gregory CLEMENT , Vladimir Kondratiev , Thomas Petazzoni , Tawfik Bayouk Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Feb 28, 2024 at 12:28=E2=80=AFPM Th=C3=A9o Lebrun wrote: > Create a mapping between the GPIO controllers and the pin controllers. > GPIO is handled in a one-instance-per-bank manner while pinctrl is done > with a single instance for both pin banks. > > See gpio-ranges documentation: > Documentation/devicetree/bindings/gpio/gpio.txt > > Signed-off-by: Th=C3=A9o Lebrun Acked-by: Linus Walleij Yours, Linus Walleij