Received: by 2002:a05:7208:13ce:b0:7f:395a:35b6 with SMTP id r14csp367179rbe; Thu, 29 Feb 2024 01:44:58 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWINBd9TnndtZuFjKADzqw2C8Q5MNlnJA2pTivT7W50nq7NbLpetwOprEcTzETQ3P+0Tt7S/9jufZCf/knvp53M+54te6GDzXwVCK9UFw== X-Google-Smtp-Source: AGHT+IEXMmnhzyIibEKTIhiQMhqoic0C6F2PNrlj+9FRsB02v7/fBkayZXkgSkxnKfNvXmclivBT X-Received: by 2002:a05:620a:1657:b0:787:c569:edea with SMTP id c23-20020a05620a165700b00787c569edeamr1384059qko.53.1709199898072; Thu, 29 Feb 2024 01:44:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709199898; cv=pass; d=google.com; s=arc-20160816; b=k+iGJWVGMDu2PR4amO6WVW6RMlB9P4HnpNCmK3cVV9lic9eSqnaYoZ6UhX5Kuxgtv6 XlJ7qz7dJDInY02UwQM5Xrl650obVN7pWV+p4BzmMX55uPp3Ucy9BrD/L0Qrok1eETVh HYHjzJs22YzbQvrUpgdqKjCXKB5RarxO96UCBds3HLjQYwY770U2gOEq8jPDwVPfC22B k6iZy8WGAim6SHIs+NG09LKwCDMc4eNsBoyqZ0GxUVA3pxH/mjaU1vuvZndHHoUlfsfo f+/ei3EzxaGSqDdXu4bFWjb8B9BBfVdBVDy3KycTPmATSSYEnZDFut5cyFgDHKdnOxqn +jiQ== 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=FtGe/ds1ZRlsDzPhDzq5vY2M1N8N9oZVvQoi1ym4DQk=; fh=2HKDyxGdb5Hfux5MqYmeQ9GM5DiTLTgS95khm/y/4K8=; b=SOurPLvtL83784G+c8XGnT9k3IWdSHhkuX2CLaQHRAFh8XR3VJJ71Od3m0sKHqY3Z3 nd68ysgGXpBIkhrezxOMxnTMMGilL4aOb09m52oQAazgS73X8U9sc3w2dxSRQ8uAQv/2 Ni5o3e1+GEy3KRE9VS8NhbelaFWFqU0QH6ejjQcSE3qNT+3jEwLhq9uPnN6/n8Mp/iEb 7dPMFZJVrBOma1sNoTtNPNbzcfQbutsBGsFhp1MGJYlFTqjWhS9Tn6d5Z/vMc3t57QJa r8rJUxmoJkmrmgShimqj4cllDT1pOoR8GfPA39bcRpW+98Hm28f7qqb6m/lnTyH4nO3K MeVw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=t+50Fwdf; 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-86466-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86466-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id x8-20020a05620a098800b00785d97bdedbsi1020943qkx.186.2024.02.29.01.44.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 01:44:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-86466-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=t+50Fwdf; 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-86466-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86466-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id CE19F1C221CF for ; Thu, 29 Feb 2024 09:44:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3B8D6612EB; Thu, 29 Feb 2024 09:44:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="t+50Fwdf" Received: from mail-yb1-f181.google.com (mail-yb1-f181.google.com [209.85.219.181]) (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 AA5CE612F0 for ; Thu, 29 Feb 2024 09:44:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709199887; cv=none; b=I/b1BRO1jdFfO7PJfDXvD6WZySay3HDynmjFu73bLPwG8G1S5lqjh8uF9q9hIif4OJ3Dxe6v8kfTKrnB78jJWZIqsIlepUcgRmGWxaqHh96jGGv86UpbJs0hadZrNkYJk6vUNvKUsY6jJK9aKJ8t8oBhvW/jDJnRdWLGxfLoTfY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709199887; c=relaxed/simple; bh=6K0C69v8aY51x+51DR4S1y5FfPh76F89vxnIkCM64Fc=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=QLApTl6giG+knMf3TYhvBLGIumKKkrGbj2obvWOLDhE7JMwKzlG29wrJcVzOs0cfAmp7gKkBte3qpGixeTwcwPg60Png4Sk+1pN9EZ2/qFyPDxMeUUURedEZyn3QbaVoegOaIzfXxrtriy422l3BJk2REoedewBFhF1B3un5tRA= 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=t+50Fwdf; arc=none smtp.client-ip=209.85.219.181 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-f181.google.com with SMTP id 3f1490d57ef6-dc74435c428so802223276.2 for ; Thu, 29 Feb 2024 01:44:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709199885; x=1709804685; 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=FtGe/ds1ZRlsDzPhDzq5vY2M1N8N9oZVvQoi1ym4DQk=; b=t+50FwdfE+URjGigg3CltFoEYEGxSFwhYFI4KJHK1sRFAdBN/QbCAVBZtWWe/rwlfq buI4lWvF/G7e+8Snre4sjNj9wzKVn0AkqWlBw5UTR8IpVeaZ2CK5CLSwE1oSYI/jIYq2 IxxN9pR3s/Y+1Y+HkKuIjUbz/FVlxsSp7Sh8wIa9jiyxqqubgv9H0r5c0B0sI6r3qH2h UdPzI6NoWLsnBfJFvMiOqbdeG1a3UVkOy/opGP6JcuUqie9KJioRYSii/axy8/8mVqgt XTMpZvIAil3vJuCYEM7BIsPNqrDtelAh/5yyCN0GzazpLijL7WjbPyLr7EkBbbYB8Abh tJZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709199885; x=1709804685; 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=FtGe/ds1ZRlsDzPhDzq5vY2M1N8N9oZVvQoi1ym4DQk=; b=rrUtjcpSAZN8vl8nwHu3XpuKRevDtsNd+iaXkplBR+kiQeQE8C2iKDCwdLDilkZYPm dD8eU5EU5cuInBYk40BEoJ/qWhv+JOsri0atN6FsNesQiq/+W67NfcsIMogAS3FbW6Hs Pouc/WHrDxqUB9ZDfvJdEOztA1adSrFRnCHqgC3pP5dikmNV2I20iOmk/NCXAh4mU0Oj oz5dVmLJPqgCu/OgoWNk2q4Q+xxk3UjbXZy/koktETappVRCk4hItAMPmzUM08MjelZ2 Q66CEvrqZkEaetY3iB69V8ZlaQ2QanBEYF6JFr1p/4s0iEgzb5/fbKH5J6PHNHGw1jgN hLTQ== X-Forwarded-Encrypted: i=1; AJvYcCX/r4RIbr31+ItV/4G+JuRmIZWtCOgdzeM5p28SoUVS1JbMPzouv6nQ7aifrNoXvim58CwFJAIWcayMvh32qJtfdLnLIa5J3FXL4bw3 X-Gm-Message-State: AOJu0Yx4fo9WKWxGRVqIG49Cv5Vh52Q7C9UwnMPvc1EtDaM3mAnXS7tL 1YGZ5BJGEjW3dQeA+XyhW6BIurf/xG7WESYiN+noQm19loimliFnm6OYrPAc/nDyE4hRQ0yoe7f vOMsmkjsOQAPdWCeBNa26Z9STakvHYasypqRAIQ== X-Received: by 2002:a5b:751:0:b0:dcf:3f11:633a with SMTP id s17-20020a5b0751000000b00dcf3f11633amr1588471ybq.35.1709199884731; Thu, 29 Feb 2024 01:44:44 -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> In-Reply-To: <20240228-mbly-gpio-v2-0-3ba757474006@bootlin.com> From: Linus Walleij Date: Thu, 29 Feb 2024 10:44:33 +0100 Message-ID: Subject: Re: [PATCH v2 00/30] Rework Nomadik GPIO to add Mobileye EyeQ5 support 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 , Krzysztof Kozlowski , Stephen Warren , Jonathan Corbet , linux-doc@vger.kernel.org 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: > This patch series reworks the Nomadik GPIO driver to bring it up to date > to current kernel standards. We then add Mobileye EyeQ5 support that > uses the same IP block but with limited functionality. We also add > features required by our newly supported platform: > > - Dynamic GPIO ID allocation; > - Make clock optional; > - Shared IRQ (usecase: EyeQ5 has two banks using the same IRQ); > - Handle variadic GPIO counts (usecase: EyeQ5 has <32 GPIOs per bank); > - Grab optional reset at probe (usecase: EyeQ5 has a shared GPIO reset). > > This GPIO platform driver was previously declared & registered inside > drivers/pinctrl/nomadik/pinctrl-nomadik.c, side-by-side with the > pinctrl driver. Both are tightly integrated, mostly for muxing reasons. > Now that gpio-nomadik is used for another platform, we loosen the > relationship. The behavior should not change on already supported > hardware but I do not have Nomadik hardware to test for that. I have queued the relevant patches to an immutable branch in the pinctrl tree for testing and I can also pick up some ACKs if they arrive. When I'm confident in the branch, I will send an optional pull request to Bartosz for it! Yours, Linus Walleij