Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp2367586rdb; Wed, 21 Feb 2024 05:45:29 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVSanf2fTCVyJdrwPLddXYXaEf5nOmMmdWfSQNpYW+dUs0G5NRa0d6iI2tVKubfmD6qXrrYgZ0sj+2zKs5yjm0aXqnBmsejMdABWj4ixg== X-Google-Smtp-Source: AGHT+IH0auIHjC7vEn8wMtrZYjxz9fIInuDWOS1bl+154+XoDd/bGBpiErQZOPr0sV7pIGSQdVBO X-Received: by 2002:ac8:5a15:0:b0:42c:2d78:8493 with SMTP id n21-20020ac85a15000000b0042c2d788493mr23071089qta.34.1708523129448; Wed, 21 Feb 2024 05:45:29 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708523129; cv=pass; d=google.com; s=arc-20160816; b=MX2mNYDeGSI2gmmbjIuy+4d2HC7lmw+WQpN3iZeERW10rUG8kr8k3CZcqmHbBIoZJh NrjDY06ub0JjmgAgwUpV26pKlGEICh5aX0dCLJDbxVtISDicL4AZ9ZmrBIi+OzH4k3RU gwB6ZorghwWObuZ+NkPCqjx/lhT2AO+OKcde4skyffvi4YYSdrAW5s5svT6BlnRd6YJw ofmtEaRO1mWCesNmJR+Vuk6cpOfLzc1Q90T31uIk/CVqI5ieePs3wuLkxdF9enaVc4M5 hdKCwDFhM596OMHDnN+33x0895y7Fra1pGJxw7oZQAjWBRCJIxjHT7M4mnySHuzc3+kV /F9w== 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=YLd0dJHTNtVDHjhS0Xex16qn1DWjQskUbDg6XGDd1Bk=; fh=GOJuQc/XNf3bxA93rmMwJdlrXRSmShMGIzKXyAdYw8Y=; b=pGp6zD5R9ikcknAQFS48cs/JoFzuxcCXl50GHW6HTRDocQLbr32ZTxAQnVSzcN6kFU D/eJVgFTcoFIfABtDYYTHxHn6SKzFTdMx4F+t+bYh7n/ehjr9359mLDg37zJYx7coiS8 HPVcgJFOL5vfdKRsNGbrjkKcCk3RJt9Quym8LjJLPpGrL3Wh0OEFAxJpkjP8Sn6FK1Sk NB8+SubP5EXPpBSwfnlG4o4VSRQJ1pbQE8wc0xhSdZQV9JoeBFCIUofpnubsrbBAyDvu bfbYRGaInMjcLOoTpPn+rWq4hrBP4h6dFJ+dWiBc5xg3052mJcrakW5f/yXeiojQrjWA sjbA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KUyuvw68; 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-74818-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74818-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 g22-20020ac84696000000b00425c3b740b8si10675737qto.766.2024.02.21.05.45.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 05:45:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-74818-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=KUyuvw68; 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-74818-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74818-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 381271C22FB6 for ; Wed, 21 Feb 2024 13:45:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0792069D21; Wed, 21 Feb 2024 13:45:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="KUyuvw68" Received: from mail-yb1-f169.google.com (mail-yb1-f169.google.com [209.85.219.169]) (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 8779F55E5E for ; Wed, 21 Feb 2024 13:45:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708523122; cv=none; b=NdCscdaCiAlnGpAAZ9QSzKKWvcnAqpBNzGwGiSh9brDK+FRQwCHC9I+rGGQmqY6zli0eFYPL9HY1CKk/6IXfVl++6bXLgnIG0QBjSWqUu8yK7oIPeaE3v8l/ASuOxz0J26/6C1NFxcj40N56i5Dxa8chFiFxojDGTKdfmDj6lvE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708523122; c=relaxed/simple; bh=uko49LY5PDi6sJGCc3e37qoxszoEEaGB98cU8E8eW+E=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=XKeacJjvCaV9bWs1izaAJZjOW/cLSyoASKJNOxh4omES3EGjkxRb/JTkav1CGs7uQGdDxy8wQ8X6SN2mYlRV0rmerC8K4BJOKW8PlfCokUbGyajaqvWykVfAHg6+I0kX9AeNuFyIrCDB+wufyu7KYycTw5DtykE31h/ZUOBkkmk= 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=KUyuvw68; arc=none smtp.client-ip=209.85.219.169 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-f169.google.com with SMTP id 3f1490d57ef6-dc745927098so620505276.3 for ; Wed, 21 Feb 2024 05:45:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708523119; x=1709127919; 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=YLd0dJHTNtVDHjhS0Xex16qn1DWjQskUbDg6XGDd1Bk=; b=KUyuvw68RXeyNuMRTTY83+f468Q7iU2AeJan6dROpwKidGcuOCUI2yKWvLDpLhOAZP IS2cmHzaKbs8h5aPGcGGuxuZp4VDGTFY+AbcudSXYBCnnSnhjnpB/GuF6DNUWJWSbtNB jpbL5s+Z6T2r12j/iWh6QGm+XYdHNIOOBvUoHF2gPVb721yvzDFUxM58RMD91nth7Cg7 KHL8sc9Y5Pah7GxZ3mVKOLxJxMPOrEY9+8ovwjNyNrfqFwKS3ZjiTNw4ZwG5/BKHC3Sh fL3HmeUYhvqk+ZRss1YLvjKHp0eVytglqTbMpf3PW7MeaEetlTSWVBGwpqnC09NZ0gVB vsMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708523119; x=1709127919; 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=YLd0dJHTNtVDHjhS0Xex16qn1DWjQskUbDg6XGDd1Bk=; b=gr98mXnEam5Q2k20dv9TpekAwKNtEIhg68bZjfaieQ8mNfSN+fZXKuYpSHVw8U2XUE 6U9nVv0b/AQn1/zouxIh2h8lpvWkvxPf0L81+g10b6N4l5GNHb/LMadB/1pmseUp8Zuy ILAVrLSO4vgr5p+8EwvWqj1i3sAc7qyHckwjimlvYAeo4R1WCxsZMPdQaznCZ88wdkpp mN2iqlHdfxx/of9i8hxmDKKaZyU6iMyk59MmhWT9Tgmq7RSHSLYGY7v1XwwI6qQ+JybD 4oZHUhG9HOxf8BP4pnupKSAw73wPDQhrQTxHQxNBwR4YXwUjw7ZOIAkgIvjuY7DkJgEA /i7w== X-Forwarded-Encrypted: i=1; AJvYcCWXMzf7QKAVoyNkcpMUiXivfnq8393+J68K2F023K6HnmWKnneQrkj82+3BpA6omiL6iuj0mDuL7zyXDPad/8+9SfvCcXGBNBSF2bnN X-Gm-Message-State: AOJu0YxIpYnpPdlBpjELX2/a+iqosAaZLT8JJCRX6Iim7LODiKUOAIKq d9W5hURnS5UN/fxHdQkOKr9ecWiin3u6FdnRQntZoL7iXztolbgSWddbnEZVp+OcBpjqr5mDPyH dCRtl/NHeNaP3T4y8VWuOVw7gPqFtHq/8fWIOrQ== X-Received: by 2002:a25:e0d2:0:b0:dc7:5c37:5420 with SMTP id x201-20020a25e0d2000000b00dc75c375420mr15835997ybg.60.1708523119618; Wed, 21 Feb 2024 05:45:19 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240214-mbly-gpio-v1-0-f88c0ccf372b@bootlin.com> <20240214-mbly-gpio-v1-18-f88c0ccf372b@bootlin.com> In-Reply-To: <20240214-mbly-gpio-v1-18-f88c0ccf372b@bootlin.com> From: Linus Walleij Date: Wed, 21 Feb 2024 14:45:08 +0100 Message-ID: Subject: Re: [PATCH 18/23] gpio: nomadik: support mobileye,eyeq5-gpio 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 Hi Theo, thanks for your patch! On Wed, Feb 14, 2024 at 5:24=E2=80=AFPM Th=C3=A9o Lebrun wrote: > We create a custom compatible for the STA2X11 IP block as integrated > into the Mobileye EyeQ5 platform. Its wake and alternate functions have > been disabled, we want to avoid touching those registers. > > We both do: (1) early return in functions that do not support the > platform, but with warnings, and (2) avoid calling those functions in > the first place. > > We ensure that pinctrl-nomadik is not used with this STA2X11 variant. > > Signed-off-by: Th=C3=A9o Lebrun (...) >+ bool quirk_mbly; Compulsive abbreviation? I would just rename it: bool is_mobileye_soc; Nevermind the long name, it makes it crystal clear for readers what is going on. (Rusty Russell's API naming guidelines.) With that changed: Reviewed-by: Linus Walleij Yours, Linus Walleij