From mboxrd@z Thu Jan 1 00:00:00 1970 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 112F47FBC0 for ; Wed, 21 Feb 2024 14:31:47 +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=1708525910; cv=none; b=tXnUIthYfHMvOhNt6kNNgpwUv0kAHm/7eQkre8lrR3pxRnnQnwlj5pRq5BtH7RZTXSIjTuIltKo1QwC4MOXjLizxBe99Y0QQttTKR+l9xCUwBho1DTOiMSU9naloqHjnGYStbh1rIj+DBqh17a3dn0rOqPt/Vd3sv/N2D53Dr2I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708525910; c=relaxed/simple; bh=SzQd87jZwG+oQiOKEili2Q5rk6+fGGD3FVIw4/CT1CM=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=h/ltcjU8Il0efQlUN4uUi9IeGvTzZ5CJETOylHzBlH3ycVdoaLBs6+Qz7WXqPiNIfwCIWLNNHc6mkpS8O/VA6KRNXv4B1Ao0xJ3M7WobCSiAvjO504zX0jQBx6zSdmjjeElUKwbd0K01ZpLCuQtnbRaGN49WMgoejSQGP6SFwZA= 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=WvBwT6Kx; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="WvBwT6Kx" Received: by mail-yb1-f169.google.com with SMTP id 3f1490d57ef6-dc6d8bd612dso751061276.1 for ; Wed, 21 Feb 2024 06:31:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708525907; x=1709130707; 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=SzQd87jZwG+oQiOKEili2Q5rk6+fGGD3FVIw4/CT1CM=; b=WvBwT6Kxg0pz41I5TVkIu6EVzlO3ZDVkCIV9Z+g8N0BHND5m7t8ljeJzvjBSHum0nk fzp23KDC3LOWR4Bx0hebzKNR6NvbzbTAMNq9B7gfVse5yw8y+SZvP+Ak81S91jQyX/8L 3Htg9i3w4wF+RICufExVT1gX1Y6VUlQgr+ePd3Tzz21PO+SxKVKCGQImxb46c+y/2ifm cuPZEYaImpDBi971tR+T118AzAP/0R+tTQXH4i5R4yy21S1tXI/hVgbipb5iamrXxfHj QuolaT5uWejS1o3TNuYztREzKcG3kMlMJHvDKSnQukwSm0/u0qB2iNOXPXdzWLViqIpA IE7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708525907; x=1709130707; 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=SzQd87jZwG+oQiOKEili2Q5rk6+fGGD3FVIw4/CT1CM=; b=pt3haZ+GFakxOpuKgDpt6SUlFPMpdSV7brTy6CNot1f3foAK5hELheTI5SKGE+BYeB gBrCW/uyWvh6xms0NAzJsfqvzuY18GHRPvgEL0VGMjy6MlPhDJ8Rjm1z2Z7Vf2bCxHI0 2Oj0A7eHdXkOCN81Ua0GhQMcQI418JhKEBlDl8IdnSYlgP0Q1VStM4mtTCxDY1n/oGie PVwb6cv1SE/B/obVVmSQnNcDulHS+qOBds8S2mdmMbKqmCfYrpKtFFxc56A7ygC4W5e5 z7q2qYVOTWOz30wSpG5N/ZPqp6s6/U9zCCKSRk9Y2zuP1ej43MZzABeW6eh0tKgFcGoy sfAA== X-Forwarded-Encrypted: i=1; AJvYcCVEgyLct7IAIjXLVsafqeXSGVs7eb0bLTdsAaKJTheYwEzMNwZQ63Wc2CifrRBJ3ePxXeNi/vwtRqWVb88YYXyi0zcnZCkuj+ar+JL0 X-Gm-Message-State: AOJu0YwmufAKvkUj2HNmZ9oQh6AIuCsteLCk0TxKOhX5YxgUB6AJvENB GeEmCsRoUKrviS1YKYz5SpBAM20UDB2sM7yNWNarqqbNkkn5Xs5kQ+VgnN7ZmJVdn/6/WtC6hw5 AltoGSWouBNIuR1r1yFNUEnIedQrk9k9jr+9yFg== X-Google-Smtp-Source: AGHT+IHtPHuNmDP1ivorhMWyf7CtrVAVcOmamjArI6U21e7odr0+fcnGW+8ENjWO4dIYPF7XJm3UqeeahMkOdj2+Yic= X-Received: by 2002:a25:e0d2:0:b0:dc7:5c37:5420 with SMTP id x201-20020a25e0d2000000b00dc75c375420mr15986478ybg.60.1708525907011; Wed, 21 Feb 2024 06:31:47 -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 15:31:35 +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 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 When testing I noticed that this patch breaks Ux500 (up until patch 17 all works fine!). But I don't know why. Trying to figure it out... Yours, Linus Walleij