Received: by 2002:a05:7412:2a91:b0:fc:a2b0:25d7 with SMTP id u17csp687246rdh; Wed, 14 Feb 2024 08:29:26 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVVjgnSb2prZVm3ZqjGYxG7W8ZVXFRzCrUYePRJipIDLku19b2//gfGEUS2Fs0Prcg973a+JmRIV7YBXndpt+y8WZlc1uiuqHRU4KZwRQ== X-Google-Smtp-Source: AGHT+IFT4HY962PLrP9M+VqNHapKryHG6pQRCyBsMgZyBn0vUuns2NZiFJGhMdQnSr8tefoPqy5I X-Received: by 2002:a17:906:e092:b0:a3c:f609:5352 with SMTP id gh18-20020a170906e09200b00a3cf6095352mr1991741ejb.28.1707928165991; Wed, 14 Feb 2024 08:29:25 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707928165; cv=pass; d=google.com; s=arc-20160816; b=EUCcZLqdP9QcdqDg5k6+KvOCCcvV54r0OzsG4kxuaVhFUcW/lrD3CxFomo/sVoeV8o NEoX+3OZNyIe0XKmu7nAaMMsUQiI29+d/qh30/p72ogBVt7tgCWlIFyc3RETPEMa73Ku 5L4y5jE/6UoGLXmYCYb1+j20lIAlMm9iSMEJ2KhCqC10I6pTxOy2G2zNDGtm/QhbfwGr BLHF1AykBdsm3poF5fZcvInrIjgVKh+xSynVJDfsUlgLpAbihdpVz+SCk/342WFl/Ox8 namDWfba6MZkzvT8iSRnX/a0+6gbpsdRfGrJd3Gt2/R0lyWr01EeCjkv8GOvREIg2YH6 CH5g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=dOVR24b4z/rmoyZs5HktHwLGuO4fKwcoMaMenE1sdQA=; fh=p2pQjVtlNtgChyvl9IMByyR4AsNzt/gU0cpUo0p2s7c=; b=ElCW5A8hkW0vUK6D+mJpRv5Z4yFZuw5UF+Kq74SUEbBp9E7h1jSql2YF8D6aVTUKwg b0aXAo1P/bsBD/snedHynrnqVwrKNn80saH//wfq1/kdo6yKRIRqLmUI/iPP45JZKK03 Oa4xqVbT+mqzcQW+9eNGJov0bLDDSV7a2/GPzvxoP/X5XXpE4EoSYQZznmNq+HpTqnYS fzGGN73WziU3lF7D6KrMVZy1Tx64zF54JlzbN+sMl/XARJbI+XrLhRVlhy3LirRXGK1M d3XQONRqd2D7mlXhEtvBHfURtWucaJrTILV4kdqtrdqFUEl3kg543Qm1rrnKz6T5woh+ jssg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=nVdaODXS; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-65531-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65531-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com X-Forwarded-Encrypted: i=2; AJvYcCUBRnitk9m8uxmojB6DN3psAdSztivaODNuZCGkgVd7a66tS53whv1SkdgU+L/mIJcVBLVq0nbZ9mH1VQFZOpOAtgT3WG2UMJ6sRkQaVg== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id gu15-20020a170906f28f00b00a3c4e956482si2412336ejb.995.2024.02.14.08.29.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 08:29:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-65531-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=nVdaODXS; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-65531-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65531-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id B8AE21F21930 for ; Wed, 14 Feb 2024 16:29:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4154766B55; Wed, 14 Feb 2024 16:25:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="nVdaODXS" Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 03C506351A; Wed, 14 Feb 2024 16:25:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.195 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707927904; cv=none; b=UviKzH1233P+jdRlXX0G9peVYtlKgyK4uAoU9blpQIRnaqGsBSE4Smz70eAAmuT16mjppKJ3RiI+S+ue9MaMyg/86NFZYfz1qHKnFdRQUY3kpvQ1wlgyJIREfjvJp7RKG3PFjhLy/qa8tn553sMzd+pxuebJOTJlxg2+fnk+neg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707927904; c=relaxed/simple; bh=lg+wMQyFSKH9DCQtdcbr5hbKPD1n5PuMlcYEsz8BV4c=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=akztQ0gcxd43dL/hzyyhfoQXxLGL3bdWyHZ+w2HDw5GegtStUEOoZR8rhmbRbU8VYxVhm8z0LQ2OOunjCALldy0RkwICLfUmaiku0OOW9PoDQYsABrJJpL4O2QNIWv29vPYONkEBZFN+mya8UD0dVYlt/GIt4uZb54QxDI7FiHU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=nVdaODXS; arc=none smtp.client-ip=217.70.183.195 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id B81AE60004; Wed, 14 Feb 2024 16:24:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1707927900; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dOVR24b4z/rmoyZs5HktHwLGuO4fKwcoMaMenE1sdQA=; b=nVdaODXSFsbhPvSP73agbH5Ujd/TiZp2qrnPqIJvEjTl+x/qZZKnyFK2lLiPMrxV+Rj/W7 zNGSJav0I0MNCy54VK2xklVikn00tkidze89TIxndwH5NBEc9zDaoIvsgaCXsia3IlLP6E yXcWwgUOrRCESufV6AQXCauJZmKan0W4MMArF6oCNSxHKrdepPp01QITVSILatPopfmfDu FlAdApGgCehl8VEYjj5kRUT8j5Ki4X9eNAwhSPAxNIglGQMpiPcmUAYTx+o8Z0HE8w9w8d q1dHjeJYjh688YqR2p/AvkzjQSllT7rTMjjwOzX9gqTf53SHjGSeeiKs9WzR9w== From: =?utf-8?q?Th=C3=A9o_Lebrun?= Date: Wed, 14 Feb 2024 17:24:14 +0100 Subject: [PATCH 21/23] MIPS: mobileye: eyeq5: add two GPIO bank nodes Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20240214-mbly-gpio-v1-21-f88c0ccf372b@bootlin.com> References: <20240214-mbly-gpio-v1-0-f88c0ccf372b@bootlin.com> In-Reply-To: <20240214-mbly-gpio-v1-0-f88c0ccf372b@bootlin.com> To: Linus Walleij , Bartosz Golaszewski , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Philipp Zabel , Thomas Bogendoerfer Cc: 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 , =?utf-8?q?Th=C3=A9o_Lebrun?= X-Mailer: b4 0.12.4 X-GND-Sasl: theo.lebrun@bootlin.com This platform uses the same GPIO controller as Nomadik. It however has its own pinconf & pinmux controller. EyeQ5 is the first platform to use gpio-nomadik independently from pinctrl-nomadik. Signed-off-by: Théo Lebrun --- arch/mips/boot/dts/mobileye/eyeq5.dtsi | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/mips/boot/dts/mobileye/eyeq5.dtsi b/arch/mips/boot/dts/mobileye/eyeq5.dtsi index 8d4f65ec912d..0f18ac73620b 100644 --- a/arch/mips/boot/dts/mobileye/eyeq5.dtsi +++ b/arch/mips/boot/dts/mobileye/eyeq5.dtsi @@ -158,6 +158,32 @@ timer { clocks = <&core0_clk>; }; }; + + gpio0: gpio@1400000 { + compatible = "mobileye,eyeq5-gpio"; + reg = <0x0 0x1400000 0x0 0x1000>; + gpio-bank = <0>; + ngpios = <29>; + interrupt-parent = <&gic>; + interrupts = ; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpio1: gpio@1500000 { + compatible = "mobileye,eyeq5-gpio"; + reg = <0x0 0x1500000 0x0 0x1000>; + gpio-bank = <1>; + ngpios = <23>; + interrupt-parent = <&gic>; + interrupts = ; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + }; }; }; -- 2.43.1